Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FYI... last time I tried, I could get the equivalent of a HTML <PRE> block by putting two spaces at the beginning of every line. Here's an example. Each line was indented two spaces:

  #include <stdio.h>
  
  int main() {
    printf( "Bonjour, totes le monde!\n" );
    return( 0 );
  }
Looks like it worked. It looks like it's rendering with a mono font.


Thanks. It works.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: