{"_id":"@akollegger/remark-lint-play-mdx","_rev":"1-f58a02c357b7d6079079c7655579f788","name":"@akollegger/remark-lint-play-mdx","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@akollegger/remark-lint-play-mdx","author":{"name":"Andreas Kollegger"},"module":"dist/remark-lint-play-mdx.esm.js","version":"0.1.1","publishConfig":{"access":"public"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --watch","lint":"tsdx lint","prepare":"tsdx build","release":"np"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"peerDependencies":{},"dependencies":{"@literal-jsx/parser":"^0.1.7","remark":"^12.0.0","remark-lint-blockquote-indentation":"^2.0.0","remark-lint-checkbox-character-style":"^2.0.0","remark-lint-code-block-style":"^2.0.0","remark-lint-no-html":"^2.0.0","remark-mdx":"^1.6.5","remark-preset-lint-consistent":"^3.0.0","remark-preset-lint-recommended":"^4.0.0","unified-lint-rule":"^1.0.5","unist-util-generated":"^1.1.5","vfile-message":"^2.0.4","vfile-reporter":"^6.0.1"},"devDependencies":{"husky":"^4.2.5","np":"^6.2.4","tsdx":"^0.13.2","tslib":"^2.0.0","typescript":"^3.9.5"},"np":{"yarn":false,"tests":false},"gitHead":"797e148277fd05413e843d4588ea995787642dd5","description":"Utilities for linting Markdown that will become playable, safe MDX.","_id":"@akollegger/remark-lint-play-mdx@0.1.1","_nodeVersion":"12.14.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-obV3xsKFnt4/2+aeJ3SUDkEi8Mul4Hs3qM9c0dLKSIS+LAXBIkBs+ezigq+9qSOfuIHl5BNB38GJsTrHBGG1Rw==","shasum":"8c15a069efd2edf0a4d6436dc66909119f53a6aa","tarball":"https://registry.npmjs.org/@akollegger/remark-lint-play-mdx/-/remark-lint-play-mdx-0.1.1.tgz","fileCount":15,"unpackedSize":31430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3iOiCRA9TVsSAnZWagAA1XgP/3hP45I179OldXiizTEd\n/2/x90/BE0iwH/npb4A21cglM0ecS9HI8pcFg2Z50j1+d8pWNrm+lPyOpIvw\n92sOQkyqL4bpTrSRD9fnpHOgsmR1YuxoOWLLB/DtS/VLA9QH3ODB7ATbB3R3\ntL+PjzrA9KQEiccedHfPi64cByCk3/rN3cdOrFmRDW8uLfIpFv/ZtnF45AjT\njvYrIYhpRuhCW2vXaOiUOeAZP3ptGhEc2Do4Tx0jqwUP9gSwHB8YuvKyxOhx\ngbg5eHbmwudaIiPjElu8e8AjoVA/u2cibr5O/oRaE0aMTtF/dO8cBD/7A7j2\nk6EMS+HqlQ45+lGlHVBDhhpy8d7pj0xo9JRmCMufsLrnzmOBhSbS7Pli0ZDh\nhiniiy7AokohT+gCHK25Log549y0wJrPuzbGBnEyGOEks84CxmQ9rB+exZX+\n1JhS6ZaCbSmJyrjdtAzLVnqu+fvbDP0eziPNskOwj0kC15dDqpL6x00T9cM9\naQxyPh49R20Ov5CEwUV8PBzzyP8SyAyWgj1bWr17r1J+4BhgOV7wQ+9ZIwUc\nMv2dQSLXhp+RgZH1rIQEA7enEkC5aEtNSwhNNP7bxeKMVxmBmwW0l1H7k29l\nVkzuo3JrAOYklVl0LuDVjBlduvhJpGCp23EF2s9mNDcw5QH5k619EADc1GBK\n81vY\r\n=Q18I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6v2ezJ1T1XUBavu/j8C2yuWA/AtYyrZzx42IUQL9J6QIhAKbHYiZ9LZOKmWIc/rEF80smRsOFlNbRJlgnqlQR+6/P"}]},"maintainers":[{"name":"akollegger","email":"akollegger@gmail.com"}],"_npmUser":{"name":"akollegger","email":"akollegger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-play-mdx_0.1.1_1591616417763_0.3239489937218163"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-08T11:40:17.715Z","0.1.1":"2020-06-08T11:40:18.028Z","modified":"2022-04-04T12:30:58.187Z"},"maintainers":[{"name":"akollegger","email":"akollegger@gmail.com"}],"description":"Utilities for linting Markdown that will become playable, safe MDX.","author":{"name":"Andreas Kollegger"},"license":"MIT","readme":"# Remark Lint Play MDX\n\nUtilities for linting Markdown that will become playable, safe MDX.\n\nAccepted HTML elements:\n\n- `<!-- -->`\n\nAccepted JSX elements can be passed as an array to `remarkLintPlayMdx()`. \n\nUsage example:\n\n```\nimport {remarkLintPlayMdx} from '@akollegger/remark-lint-play-mdx'\n\nconst remarkLintPlayMdx(['BadAttr'])\n\nremarkLintPlayMdx(['BadAttr'])\n    .process(md, (_, file:VFile) => {\n      // file will have messages for any found errors\n      file.messages.forEach ( (msg:string) => {\n        console.error(msg);\n      })\n    });\n```\n\n## Examples of playable, safe MDX\n\n### Blockquotes\n\nAcceptable, use 1 space at start of line :\n\n```md\n> Use one space between the `>` blockquote character and the start of line.\n> This is ok, too!\n```\n\nRejected, more than 1 space:\n\n```md\n>  Maybe hard to tell, but this line has 2 (!) spaces between the `>` and the start of the line.\n>   This is even more indented. \n```\n\n# TSDX Bootstrap\n\nThis project was bootstrapped with [TSDX](https://github.com/jaredpalmer/tsdx).\n\n## Local Development\n\nBelow is a list of commands you will probably find useful.\n\n### `npm start` or `yarn start`\n\nRuns the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.\n\n<img src=\"https://user-images.githubusercontent.com/4060187/52168303-574d3a00-26f6-11e9-9f3b-71dbec9ebfcb.gif\" width=\"600\" />\n\nYour library will be rebuilt if you make edits.\n\n### `npm run build` or `yarn build`\n\nBundles the package to the `dist` folder.\nThe package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).\n\n<img src=\"https://user-images.githubusercontent.com/4060187/52168322-a98e5b00-26f6-11e9-8cf6-222d716b75ef.gif\" width=\"600\" />\n\n### `npm test` or `yarn test`\n\nRuns the test watcher (Jest) in an interactive mode.\nBy default, runs tests related to files changed since the last commit.\n","readmeFilename":"README.md"}