NeXTSTEP Programming Mastermind

    @gerhobbelt/markdown-it-kbd
    TypeScript icon, indicating that this package has built-in type declarations

    2.2.2-10 • Public • Published

    markdown-it-kbd

    Node.js CI CircleCI NPM version

    markdown-it plugin for keystrokes

    Renders [[x]] as <kbd>x</kbd>. (<kbd> is the tag for keystrokes).

    Usage

    const md = require('markdown-it')();
    const kbd = require('markdown-it-kbd');
    
    md.use(kbd);

    This plugin can also be used together with markdown-it-attrs.

    Syntax notes

    The end tag ]] must be on the same line as the start tag [[.

    The characters “[” and “]” are not allowed within keystroke tags. If you need to use them, escape them with a backslash (i.e. \[ or \]) or use HTML escape sequences (&#91 for [ or &#93; for ]).

    Install

    npm i @gerhobbelt/markdown-it-kbd

    DownloadsWeekly Downloads

    20

    Version

    2.2.2-10

    License

    GPL-3.0

    Unpacked Size

    70 kB

    Total Files

    27

    Last publish

    Collaborators

    • gerhobbelt