bs-marky-markdown

2.1.7 • Public • Published

bs-marky-markdown

marky-markdown bindings for BuckleScript in Reason.

Has only been tested in the browser.

Installation

npm i bs-marky-markdown -s

Usage

Basic usage

let htmlStr = MarkyMarkdown.make("# My Markdown String")

With Options

let htmlStr = MarkyMarkdown.(
  make(~options=options(~highlightSyntax=false, ()), "# My Markdown String")
)
 

Available Options

  • sanitize: bool
  • nofollow: bool
  • linkify: bool
  • highlightSyntax: bool
  • prefixHeadingIds: bool
  • enableHeadingLinkIcons: bool
  • serveImagesWithCDN: bool
  • debug: bool
  • package (what even is this??)
  • headingAnchorClass: string
  • headingSvgClass: array(string)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.7
    0
    • latest

Version History

Package Sidebar

Install

npm i bs-marky-markdown

Weekly Downloads

0

Version

2.1.7

License

ISC

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • anisjonischkeit