Examples of doctitle()


Examples of org.asciidoctor.ast.Document.doctitle()

        Map<Object, Object> opts = new HashMap<Object, Object>();
        opts.put("partition", true);

        Document document = new Document(documentRuby, rubyRuntime);

        return DocumentHeader.createDocumentHeader((Title) document.doctitle(opts), documentRuby.title(),
                documentRuby.getAttributes());
    }

    private StructuredDocument toDocument(DocumentRuby documentRuby, Ruby rubyRuntime, int maxDeepLevel) {
View Full Code Here

Examples of org.asciidoctor.ast.Document.doctitle()

   
    @Test
    public void should_return_blocks_from_a_document() {
       
        Document document = asciidoctor.load(DOCUMENT, new HashMap<String, Object>());
        assertThat(document.doctitle(), is("Document Title"));
       
    }
   
    @Test
    public void should_return_a_document_object_from_string() {
View Full Code Here

Examples of org.asciidoctor.ast.Document.doctitle()

   
    @Test
    public void should_return_a_document_object_from_string() {
       
        Document document = asciidoctor.load(DOCUMENT, new HashMap<String, Object>());
        assertThat(document.doctitle(), is("Document Title"));
    }
   
    @Test
    public void should_find_elements_from_document() {
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.