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)

Dependents (1)

Package Sidebar

Install

npm i bs-marky-markdown

Weekly Downloads

5

Version

2.1.7

License

ISC

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • anisjonischkeit