anammari / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Pandoc should support inline code blocks / syntax highlighting #119

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently Pandoc supports delimited code blocks. Which work great
when you want an entire inset section of a large amount of code in whatever
language, but they don't work well inline. When writing tutorials or just
programming documents in general, being able to cite a type or function's
name, showing a small one-liner example etc. it's not appropriate to take
up an entire paragraph.

Thus, an inline analogue to the delimited blocks is needed.

That is, in MediaWiki/haskell.org terms - I know the equivalent of  in
Pandoc Markdown (~~~~~~~s), but I don't know the equivalent of  (???).

John has suggested that the syntax of this inline markup would be 

`this`{.haskell}

Original issue reported on code.google.com by gwe...@gmail.com on 21 Jan 2009 at 1:18

GoogleCodeExporter commented 8 years ago
Note: work underway in my private codeattrs branch.

Original comment by fiddloso...@gmail.com on 13 Jul 2009 at 3:50

GoogleCodeExporter commented 8 years ago

Original comment by fiddloso...@gmail.com on 1 Nov 2009 at 3:16

GoogleCodeExporter commented 8 years ago
Supported, finally, in f8dca6ccbc4ce927ee035c3e60729c040b2280a0

Original comment by fiddloso...@gmail.com on 27 Jan 2011 at 6:23

GoogleCodeExporter commented 8 years ago
I would test this, but I'm currently unable to compile HEAD because apparently 
my citeproc-hs is too old, and I can't fetch any recent patches because 
code.haskell.org is down.

Original comment by gwe...@gmail.com on 27 Jan 2011 at 2:41

GoogleCodeExporter commented 8 years ago
To test, you need to compile pandoc-types from github, then recompile citeproc 
from darcs, then install pandoc.
Or you can just wait for the release.

Original comment by fiddloso...@gmail.com on 27 Jan 2011 at 4:05