Re: Inline source code highlighting
Posted by
mojavelinux on
Oct 04, 2015; 9:53pm
URL: https://discuss.asciidoctor.org/Inline-source-code-highlighting-tp3783p3809.html
Anders,
My preference is actually an inline macro. I think inline macros are a lot easier to read _and_ is less typing.
source:cypher[CREATE]
Unfortunately, it's not yet possible to get passthrough behavior with inline macros, so you'd need to check for a passthrough in the content part in case it's needed.
source:cypher[+CREATE (with some characters to escape in here)+]
You can find some other proposals in the referenced issue. This is entirely possible to implement today using extensions...though I agree having it in core would be very interesting.
-Dan