Class MkMarkdown

  • All Implemented Interfaces:
    Markdown

    @Immutable
    @Loggable(1)
    public final class MkMarkdown
    extends Object
    implements Markdown
    Mock markdown API.
    Since:
    0.10
    Version:
    $Id: 934a597a996e660d91e63b9a5f54528c8cc40d4b $
    Author:
    Andrej Istomin (andrej.istomin.ikeen@gmail.com)
    • Constructor Detail

      • MkMarkdown

        public MkMarkdown​(Github github)
        Creates new instance.
        Parameters:
        github - Owner github
    • Method Detail

      • github

        public Github github()
        Description copied from interface: Markdown
        Get its owner.
        Specified by:
        github in interface Markdown
        Returns:
        Github
      • render

        public String render​(javax.json.JsonObject json)
        Description copied from interface: Markdown
        Render.
        Specified by:
        render in interface Markdown
        Parameters:
        json - JSON parameters
        Returns:
        HTML
      • raw

        public String raw​(String text)
        Description copied from interface: Markdown
        Raw rendering.
        Specified by:
        raw in interface Markdown
        Parameters:
        text - Text in Markdown format
        Returns:
        HTML