orgzly-android icon indicating copy to clipboard operation
orgzly-android copied to clipboard

Add support for code blocks

Open gergelypolonkai opened this issue 7 years ago • 1 comments

This is a big one, I know.

I work with a lot of code, and I often include snippets in my Org files

#+BEGIN_SRC c
some_c(code);
#+END_SRC

I don't think you should add syntax highlighting (although that would be awesome), as Org itself doesn't do it (unless you open the snippet in a separate buffer), but a fixed width font would suffice in view mode.

Also note that there are others, like BEGIN_EXAMPLE.

gergelypolonkai avatar Feb 27 '17 20:02 gergelypolonkai

I can take a crack at this in a couple weeks post exams

WillPower3309 avatar Dec 07 '21 16:12 WillPower3309