@parked/core

1.0.0 • Public • Published

Parked

Parked is a parser of Markdown

Support

Syntax name Syntax type Supported
Annotated Link [linked text][example annotation] No
Blockquote > blockquote No
Bold **bold text** Yes
Code Block ```code block``` No
Headers # header No
Horizontal Rule --- No
Image ![alt text](https://example.com/image.png "title") No
Inline Code `inline code` No
Italic *italicized text* No
Ordered Lists 1. list item No
Link [linked text](https://example.com) No
Strikethrough ~~stricken text~~ No
Unordered Lists 1. list item No

Usage

Install the package:

npm install @parked/core

Import and use the rendering function in your code:

import { markdownToHTML } from '@parked/core'

const string = 'This is my string! The word **bold** should be **bold**!'

markdownToHTML(string) // returns 'This is my string! The word <strong>bold</strong> should be <strong>bold</strong>!'

/@parked/core/

    Package Sidebar

    Install

    npm i @parked/core

    Weekly Downloads

    0

    Version

    1.0.0

    License

    BSD-3-Clause

    Unpacked Size

    12 kB

    Total Files

    11

    Last publish

    Collaborators

    • trezy