Asciidoc (taack-ui 0.6.3-SNAPSHOT API)
Package: taack.wysiwyg

[Java] Class Asciidoc

    • taack.wysiwyg.Asciidoc


    • public class Asciidoc
      extends java.lang.Object

      Translate Markdown to HTML using flexmark

      • Methods Summary

          Methods 
          Type Params Return Type Name and description
          public static java.lang.String getContentHtml(java.lang.String content, java.lang.String urlFileRoot)
          Translate Asciidoctor string content to HTML, no inline
          public static java.lang.String getContentHtml(java.io.File file, java.lang.String urlFileRoot)
          Translate Asciidoctor file content to HTML, can inline other content
      • Inherited Methods Summary

          Inherited Methods 
          Methods inherited from class Name
          class java.lang.Object java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
      • Method Detail

        • public static java.lang.String getContentHtml(java.lang.String content, java.lang.String urlFileRoot)

          Translate Asciidoctor string content to HTML, no inline

          Parameters:
          content - The Asciidoc Text
          urlFileRoot - url prefix for external resources
          Returns:
          The HTML results

        • public static java.lang.String getContentHtml(java.io.File file, java.lang.String urlFileRoot)

          Translate Asciidoctor file content to HTML, can inline other content

          Parameters:
          file - The Asciidoc File
          urlFileRoot - url prefix for external resources
          Returns:
          The HTML results