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

You can use code blocks for this and even specify the language so Emacs can provide proper syntax highlighting:

#+BEGIN_SRC html

#+END_SRC

If you are writing a technical document with a lot of code blocks you can have yasnippet to create the blocks for you by keyboard shortcut.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: