document_parser: remove unused debug statement
all: rename adocNode to element
Using prefix adoc to module asciidoc is kinda bit stutter.
all: do not wrap document with content and preamble on ToEmbeddedHTML
Previously, HTMl document generated from ToEmbeddedHTML contains div
with id "content" and sub div "preamble".
This changes, make the ToEmbeddedHTML generate the HTML document without
those divs wrapper.
all: fix parsing list with open block
If the list body contains continuation with open block, the whole open
block content should be treatent as sub-of block until it end with
document_parser: fix parsing open block inside list item
By using open block "--" we allow the list body content without adding
"+" for each empty line.
all: refactoring document parser to split content by lines
Previously, we read the raw content line by line. Unfortunately, this
technique did not work for "include" directive, where the included
file's content will be embedded to current content.
This changes split the initial raw content by lines to make it allow
injecting another lines when including directives exist.
all: preparing implementation for "include" directive
There are basic things that need to be done before we can implement
the "include" directive, especially on how to embed the content of
included file into the content of current document.
document: store the full path of parsed file on Document
The full path will be required later for implementing the "include"
all: add support for checklist in unordered list
all: support custom markers on unordered list
Custom markers including "square", "circle", "disc", "none", "no-bullet",
"unstyled", and any strings that is not part of asciidoc internal styles.
all: remove unused methods and unexport internal methods
all: unified the document node attributes
all: implement table options "footer"
all: implement table options "header" and "noheader"
chore: increase the debug value to supress logs on DEBUG=1
all: support all column style "a", "e", "h", "l", "m", "d", "s", "v"
all: implement parser for table
Currently supported format with "cols" options are,
* setting number of columns,
* setting the horizontal and vertical alignment
* setting the column width
all: change attributeClass from map to slice
Using map is unpredictable for class. Imagine if we have CSS that
set style based on order of class "a.b", using map sometimes will
generate a string "b a" which will not what we expect.
all: support section "[discrete]" headings style
all: implement additional metadatas
The following metadata has been implemented,
* "idprefix": changing the auto generated ID prefix
* "idseparator": changing the separator for auto generated ID
* "sectids": enabling or disabling auto generated ID
* "sectlinks": generate link on section title
* "sectanchors: generate an anchor, empty link, before section title