| Age | Commit message (Collapse) | Author |
|
A line that start with one or more space will be considered
as literal paragraph.
Once literal line found it will end until an empty line.
|
|
The asciidoctor behaviour will not recognize list that is not started
by empty line, similar to our implementation.
|
|
The "generator" value will changes on each releases, so better to disable
it to minimize noise during release commit.
|
|
|
|
Previously, an empty line before Document Title cause the parser
stop parsing the document header, now an empty lines are skipped.
Also document attribute can be place anywhere, either before or
after title, and in between attributes; now it can be only placed
after revision or author or title.
|
|
Given the following markup,
[square]
* item 1
[circle]
** item 2
The list on item 2 now start with `<div class="ulist circle">`.
|
|
The unordered list item with hyphen ('-') cause too much confusion and
inconsistency, nevertheless most of still use it.
Case one, given the following markup,
```
- Item 1
+
"A line
of quote"
-- Author
```
Is the "Author" the sub item in list or we are parsing author of quote
paragraph?
Case two, the writer want to write em dash (`—` in HTML Unicode) but
somehow the editor wrap it and start in new line.
As a reminder, the official documentation only recommend using hyphen for
simple list item [1].
[1] https://docs.asciidoctor.org/asciidoc/latest/lists/unordered/#basic-unordered-list
|
|
Previously, given the following include statements in the main document
include::list_desc.adoc[]
include::list_desc.adoc[]
Where list_desc.adoc content is,
Item 00::
+
--
* Bullet 0
+
Description 0.
* Bullet 1
--
The first include is parsed correctly, but the second include is parsed
as is.
|
|
This is to make the generated HTML from asciidoctor match with the
library.
Without it, all IDs are prefixed with "_".
|
|
Signed-off-by: Shulhan <ms@kilabit.info>
|
|
|
|
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
"--".
|
|
By using open block "--" we allow the list body content without adding
"+" for each empty line.
|
|
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.
|
|
Previously, the following description label will not work,
https://somewhere[A]:: B
This changes fix this issue.
|
|
|
|
Custom markers including "square", "circle", "disc", "none", "no-bullet",
"unstyled", and any strings that is not part of asciidoc internal styles.
|
|
|
|
|
|
While at tif, do not set table.hasHeader if the row does not end with
empty line.
|
|
|
|
Table borders can be set by setting the "frame" and "grid" options.
|
|
|
|
|
|
|
|
One of the most hardest task to finished after inline markup. It take
three refactoring until we get the current implementation.
To make the cell formatting works, we breaking down all table contents
into cells. When parsing a cells, we lookup the content before '|' and
after '\n'. If its a valid cell format, it will be set as cell format
for the next cell, otherwise it will considered as normal text.
|
|
|
|
Currently supported format with "cols" options are,
* setting number of columns,
* setting the horizontal and vertical alignment
* setting the column width
|
|
|
|
|
|
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
|
|
Also support setting and checking metadata revnumber, revdate, revremark,
and version-label.
|
|
|
|
This will allow literal paragraph between list, for example,
* A
literal
* B
|
|
Use case: "A `/**/` *B*", should generate the following HTML
A <code>/<strong></strong>/</code> <strong>B</strong>
|
|
Use cases,
* link:{attr-ref}[Alt text]
* video::{url}[...]
* image:{a}[X, link={y}]
|
|
|
|
|
|
|
|
|
|
The cross reference text can be customized using attribute name "reftext"
with value is the alternative text to be displayed on anchor.
|
|
|
|
|
|
|
|
Also, apply div element with class sectionbody only on section L1.
|
|
|
|
|
|
The current implementation only support toc position "auto" (default)
and "preamble" with option to set toc level and title.
|
|
|
|
|