libasciidoc
libasciidoc copied to clipboard
A Golang library for processing Asciidoc files.
I've been looking a *lot* and the renderer backend for HTML. Enough so that I'm going to be writing my own backend to produce ebooks -- basically forking the existing...
An undocumented feature of asciidoctor is that constrained text that is followed by a punctuation must not be followed by an alphanumeric. That is this: ``` `unbalanced `?stuff ``` Is...
The CLI should have an extra flag to specify the path to a YAML config file (with sensible default, eg `.config.yaml`) which would allow users to specify their own custom...
By the look of it, there's an uniformized rendering function for headers ([source](https://github.com/bytesparadise/libasciidoc/blob/master/pkg/parser/asciidoc-grammar.peg#L69-L75)). By the way the renderer works ([source](https://github.com/bytesparadise/libasciidoc/blob/master/pkg/renderer/html5/section.go#L116-L138)), is there any imaginable way to have a custom template?...
Having a renderer to output the source document but without all the Asciidoc syntax, so it can be then be processed by other tools such as indexers or grammar/spelling checkers....
as a replacement for https://github.com/sirupsen/logrus, as https://github.com/gohugoio/hugo already uses it
eg: ``` . [[step-1]]something ``` where the inline anchor `[[step-1]]` can appear anywhere, yet should be placed at the beginning or the end of the sentence, but that's up to...
parse InlineElementID (ie, `[[id]]` in a paragraph content or section title) as a regular element, then only if applicable, use the value to set the `ID`. Otherwise, just ignore during...
First of all, thank you for taking it upon yourself to create an independent implementation with more of a proper parser. I've already learnt how hard it is and stopped...
I've noticed that index terms using the parens syntax does not convert and the index values wind up in the HTML output. Here's a sample that should have worked: ```...