{"repo":"gitbucket/markedj","free":true,"listed":false,"github":"https://github.com/gitbucket/markedj","clone":"git clone https://github.com/gitbucket/markedj.git","description":"JVM port of graceful markdown processor marked.js","language":"Java","stars":91,"topics":["java","markdown"],"license":"Apache-2.0","category":"productivity","readme_excerpt":"markedj JVM port of graceful markdown processor marked.js. Usage First, add following dependency into your pom.xml : You can easily use markedj via io.github.gitbucket.markedj.Marked : Options io.github.gitbucket.markedj.Options has following properties to control Markdown conversion: Name Default Description :------------ :-------- :------------ gfm true Enable GitHub Flavored Markdown. tables true Enable GFM tables. This option requires the gfm option to be true. breaks false Enable GFM line breaks. This option requires the gfm option to be true. sanitize false Ignore any HTML that has been input. langPrefix \"lang-\" Prefix of class attribute of code block headerPrefix \"\" Prefix of id attribute of header safelist See Options.java Safelist of HTML tags. extensions empty Extensions. See Extensions section By default, markedj uses Jsoup's safelist mechanism for HTML rendering. It restricts renderable tags, attributes and even protocols of attribute values. For example, the image url must be http:// or https:// by default. You can remove this restriction by customizing the safelist as follows: Extensions Markedj can be extended by implementing custom extensions. Extensions can be used by adding them to the options. GFMAlert extension Support for github like alerts. For styling, some project-specific CSS is required. Supported alert types are NOTE , TOP , IMPORTANT , WARNING , and CAUTION . Here is a Markdown example: This is translated to the following HTML: Generated HTML can b","default_branch":null,"files":null,"tree":[],"storefront":"/r/gitbucket","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gitbucket/markedj/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}