Skip to content

shannong/asciidoc-dsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asciidoc-DSL

Asciidoc-DSL seeks to overcome this problem by allowing users to generate natural object graphs representing the document structure they wish to produce. Asciidoc-DSL then renders the document in a format that can be used as an input to AsciidoctorJ to produce the desired output.

Example

        Document document = new Document();
        document.add(AsciidocBuilder.paragraph(AsciidocBuilder.big("Hello Asciidoc-DSL!")));
        document.add(AsciidocBuilder.horizontalRule());

        document.add(ListBuilder.buildListBuilder(ListType.UNORDERED).addItem("Item 1").addItem("Item 2").buildList());

        StringBuilder stringBuilder = new StringBuilder();
        document.render(stringBuilder);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages