|
I have 200k of lines asciidoc document.I am trying to render my asciidoc document as HTML.I have tried the following techniques but no one works.Any advice appreciated.
Asciidoc Previews I have tried asciidoc preview programs(AsciidocFX, atom editor with asciidoc extension). What I see is preview editors do not sync changes they rebuild the whole HTML on every change.
asciidoc-base I have tried asciidoc-base which is asciidoc HTML renderer for Ubuntu. It throws so many warnings and errors when I tried to render my asciidoc document. I have some missing references for sections. How can I suppress this type of negligible errors and render successfully as html?
My rendering output with asciidoc-base:
q@q-ABRA-A5-V12-1:~/Downloads$ asciidoc doc.adoc
asciidoc: WARNING: doc.adoc: line 101: no callouts refer to list item 1
asciidoc: WARNING: doc.adoc: line 649: missing section: [...]
... I have a lot of error like that
Traceback (most recent call last):
File "/usr/bin/asciidoc", line 6023, in asciidoc
document.translate(has_header) # Generate the output.
File "/usr/bin/asciidoc", line 1666, in translate
Section.translate()
File "/usr/bin/asciidoc", line 2307, in translate
Section.translate_body()
File "/usr/bin/asciidoc", line 2315, in translate_body
next.translate()
File "/usr/bin/asciidoc", line 3074, in translate
Section.translate_body(self)
File "/usr/bin/asciidoc", line 2315, in translate_body
next.translate()
File "/usr/bin/asciidoc", line 2937, in translate
attrs['style'] = self.calc_style(self.index)
File "/usr/bin/asciidoc", line 2870, in calc_style
assert False
AssertionError
|