Login  Register

Re: Include sections of files

Posted by glaforge on Apr 18, 2013; 8:46am
URL: https://discuss.asciidoctor.org/Include-sections-of-files-tp106p151.html

mojavelinux wrote
[...]
Exactly. It's a throwaway line.
Perfect!

mojavelinux wrote
[...]
Btw, I updated the syntax to be more AsciiDoc-like and less likely to match
something it shouldn't:

// tag::classdef[]
class Bar {}
// end::classdef[]
Right, that makes sense, and is indeed coherent with AsciiDoc's usual syntax.
And as you said, it'll avoid some wrong matches where it shouldn't.

Thanks again for this effort!