Noticeably Playful Monkeys

    experimental-markdown-json-lint

    0.0.2 • Public • Published

    experimental-markdown-json-lint

    lint json in markdown json codeblock

    installation

    npm install -g experimental-markdown-json-lint
    experimental-markdown-json-lint "*.md"

    sample.md

    this is a chapter

    here text

    aaa

    { "a": 1 }
    <?php
    echo 'ok';
    { "b: 'a' }
    { "b": 2 }
    { "x: 2 }

    yeah

    result

    sample.md
    Parse error on line 1:
    { "b: 'a' }
    --^
    Expecting 'STRING', '}', got 'undefined'
    Parse error on line 1:
    { "x: 2 }
    --^
    Expecting 'STRING', '}', got 'undefined'
    

    Keywords

    none

    Install

    npm i experimental-markdown-json-lint

    DownloadsWeekly Downloads

    5

    Version

    0.0.2

    License

    ISC

    Last publish

    Collaborators

    • matsu_chara