{"_id":"remark-admonitions","_rev":"3244569","name":"remark-admonitions","description":"Add admonitions support to remark","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"elviswolcott","email":""}],"time":{"modified":"2024-03-21T08:47:24.000Z","created":"2020-01-12T06:30:36.095Z","1.2.1":"2020-03-25T18:40:02.540Z","1.2.0":"2020-03-04T20:14:21.669Z","1.1.2":"2020-02-26T21:20:58.626Z","1.1.1":"2020-01-23T16:30:10.913Z","1.1.0":"2020-01-17T16:55:15.706Z","1.0.0":"2020-01-13T06:08:17.645Z","0.1.1":"2020-01-13T03:42:25.570Z","0.1.0":"2020-01-12T06:59:42.953Z","0.0.9":"2020-01-12T06:39:40.412Z","0.0.8":"2020-01-12T06:30:36.095Z"},"users":{},"author":{"name":"Elvis Wolcott"},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"versions":{"1.2.1":{"name":"remark-admonitions","version":"1.2.1","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2","unist-util-visit":"^2.0.1"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.8.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","vfile-reporter":"^6.0.0"},"gitHead":"bc040d2acae0b3dd37ae67a993a891ad8ad7de16","_id":"remark-admonitions@1.2.1","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"shasum":"87caa1a442aa7b4c0cafa04798ed58a342307870","size":263363,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-1.2.1.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_1.2.1_1585161601909_0.1450033689683592"},"_hasShrinkwrap":false,"publish_time":1585161602540,"_cnpm_publish_time":1585161602540,"_cnpmcore_publish_time":"2021-12-16T14:06:30.628Z"},"1.2.0":{"name":"remark-admonitions","version":"1.2.0","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2","unist-util-visit":"^2.0.1"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.8.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","vfile-reporter":"^6.0.0"},"gitHead":"3d819983df91b0ddbcc64ba0351d3d7bd58903b4","_id":"remark-admonitions@1.2.0","_nodeVersion":"13.10.0","_npmVersion":"6.13.7","dist":{"shasum":"0c8ba565c018357afb5f4f89efe4e543d71bd216","size":263351,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-1.2.0.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_1.2.0_1583352861519_0.9167544118426745"},"_hasShrinkwrap":false,"publish_time":1583352861669,"_cnpm_publish_time":1583352861669,"_cnpmcore_publish_time":"2021-12-16T14:06:31.323Z"},"1.1.2":{"name":"remark-admonitions","version":"1.1.2","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2","unist-util-visit":"^2.0.1"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.8.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","vfile-reporter":"^6.0.0"},"gitHead":"b65b7abe904f35f30eed401fc6255643a26541c5","_id":"remark-admonitions@1.1.2","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"a923554a1c2a4828f684ea9b06c6252d06615090","size":263178,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-1.1.2.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_1.1.2_1582752058486_0.16406723323234806"},"_hasShrinkwrap":false,"publish_time":1582752058626,"_cnpm_publish_time":1582752058626,"_cnpmcore_publish_time":"2021-12-16T14:06:31.954Z"},"1.1.1":{"name":"remark-admonitions","version":"1.1.1","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2","unist-util-visit":"^2.0.1"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.8.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","vfile-reporter":"^6.0.0"},"gitHead":"f4818e1488501836df36de7ba8e061242d636e80","_id":"remark-admonitions@1.1.1","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"bc9d7f54f47fc78f8faa6580677cfa635208cb5e","size":263177,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-1.1.1.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_1.1.1_1579797010763_0.7430229357708793"},"_hasShrinkwrap":false,"publish_time":1579797010913,"_cnpm_publish_time":1579797010913,"_cnpmcore_publish_time":"2021-12-16T14:06:32.933Z"},"1.1.0":{"name":"remark-admonitions","version":"1.1.0","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2","unist-util-visit":"^2.0.1"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.8.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","vfile-reporter":"^6.0.0"},"gitHead":"c9fec316eebd5fecc0bac5b2520725d2bb6fe02b","_id":"remark-admonitions@1.1.0","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"shasum":"56817a28745e316e689aef83219b85d5203df938","size":263059,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-1.1.0.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_1.1.0_1579280115542_0.45349035760152456"},"_hasShrinkwrap":false,"publish_time":1579280115706,"_cnpm_publish_time":1579280115706,"_cnpmcore_publish_time":"2021-12-16T14:06:33.839Z"},"1.0.0":{"name":"remark-admonitions","version":"1.0.0","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2","unist-util-visit":"^2.0.1"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.1.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","unified":"^8.4.2","vfile-reporter":"^6.0.0"},"gitHead":"909309a0951b0bf9b688ea48545f9e20d09eda6e","_id":"remark-admonitions@1.0.0","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"shasum":"5f0b824c56a7f0e31f4e826e68c30c7a17909003","size":261700,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-1.0.0.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_1.0.0_1578895697530_0.15583059479200356"},"_hasShrinkwrap":false,"publish_time":1578895697645,"_cnpm_publish_time":1578895697645,"_cnpmcore_publish_time":"2021-12-16T14:06:34.739Z"},"0.1.1":{"name":"remark-admonitions","version":"0.1.1","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2","unist-util-visit":"^2.0.1"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.1.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","unified":"^8.4.2","vfile-reporter":"^6.0.0"},"gitHead":"891f65d60ec5da9d92f61ecc81b18adf01f436f7","_id":"remark-admonitions@0.1.1","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"shasum":"6a71d3dea46130584cb6438f52a4010876b51d80","size":3942,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-0.1.1.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_0.1.1_1578886945452_0.8607981984722828"},"_hasShrinkwrap":false,"publish_time":1578886945570,"_cnpm_publish_time":1578886945570,"_cnpmcore_publish_time":"2021-12-16T14:06:35.000Z"},"0.1.0":{"name":"remark-admonitions","version":"0.1.0","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.1.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","unified":"^8.4.2","vfile-reporter":"^6.0.0"},"gitHead":"1fdf6192e29c1231e7ad61300ac7dc58c73db89e","_id":"remark-admonitions@0.1.0","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"shasum":"a1ee8dc4f2e8217ff2f9e029be8f685a69361a1e","size":3767,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-0.1.0.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_0.1.0_1578812382772_0.6036546080732117"},"_hasShrinkwrap":false,"publish_time":1578812382953,"_cnpm_publish_time":1578812382953,"_cnpmcore_publish_time":"2021-12-16T14:06:35.267Z"},"0.0.9":{"name":"remark-admonitions","version":"0.0.9","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.1.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","unified":"^8.4.2","vfile-reporter":"^6.0.0"},"gitHead":"733c573635c92d09bb84348faf98fa9af23538ac","_id":"remark-admonitions@0.0.9","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"shasum":"3e1b437ada109dc89238026586988e2d226c0bb6","size":3754,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-0.0.9.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_0.0.9_1578811180234_0.12040278424016893"},"_hasShrinkwrap":false,"publish_time":1578811180412,"_cnpm_publish_time":1578811180412,"_cnpmcore_publish_time":"2021-12-16T14:06:35.453Z"},"0.0.8":{"name":"remark-admonitions","version":"0.0.8","description":"Add admonitions support to remark","main":"lib/index.js","scripts":{"test":"node test/index.js","lint":"eslint .","lint:fix":"eslint --fix ."},"husky":{"hooks":{"pre-commit":"npm run lint:fix"}},"repository":{"type":"git","url":"git+https://github.com/elviswolcott/remark-admonitions.git"},"keywords":["remark","docusaurus","admonitions","markdown","mdx","plugin"],"author":{"name":"Elvis Wolcott"},"license":"MIT","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","dependencies":{"rehype-parse":"^6.0.2","unified":"^8.4.2"},"devDependencies":{"colors":"^1.4.0","compiler":"^0.1.2","diff":"^4.0.1","eslint":"^6.1.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^3.1.2","husky":"^4.0.6","prettier":"^1.19.1","rehype-document":"^3.2.1","rehype-format":"^3.0.0","rehype-stringify":"^6.0.1","remark-parse":"^7.0.2","remark-rehype":"^5.0.0","to-vfile":"^6.0.0","unified":"^8.4.2","vfile-reporter":"^6.0.0"},"gitHead":"25e3b4309e52bd7b742227c45d55e02ee62176a2","_id":"remark-admonitions@0.0.8","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"shasum":"b8c4144a5272edead81b8f1197c24f4a6b181834","size":3754,"noattachment":false,"key":"/remark-admonitions/-/remark-admonitions-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-admonitions/download/remark-admonitions-0.0.8.tgz"},"maintainers":[{"name":"elviswolcott","email":""}],"_npmUser":{"name":"elviswolcott","email":"elviswolcott@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-admonitions_0.0.8_1578810635926_0.41600868014868797"},"_hasShrinkwrap":false,"publish_time":1578810636095,"_cnpm_publish_time":1578810636095,"_cnpmcore_publish_time":"2021-12-16T14:06:35.663Z"}},"readme":"[![Travis (.com)](https://img.shields.io/travis/com/elviswolcott/remark-admonitions?logo=travis)](https://travis-ci.com/elviswolcott/remark-admonitions)\n[![npm](https://img.shields.io/npm/v/remark-admonitions?label=remark-admonitions&logo=npm)](https://www.npmjs.com/package/remark-admonitions)\n# remark-admonitions\n\n> A [remark](https://github.com/remarkjs/remark) plugin for admonitions designed with Docusaurus v2 in mind.\n\n> `remark-admonitions` is now included out-of-the-box with `@docusaurus/preset-classic`!\n\n![example of admonitions](/assets/hero.png)\n\n# Installation\n\n`remark-admonitions` is available on NPM.\n\n```bash\nnpm install remark-admonitions\n```\n\n## unified + remark\nIf you're using unified/remark, just pass the plugin to `use()`\n\nFor example, this will compile `input.md` into `output.html` using `remark`, `rehype`, and `remark-admonitions`.\n\n```javascript\nconst unified = require('unified')\nconst markdown = require('remark-parse')\n// require the plugin\nconst admonitions = require('remark-admonitions')\nconst remark2rehype = require('remark-rehype')\nconst doc = require('rehype-document')\nconst format = require('rehype-format')\nconst html = require('rehype-stringify')\nconst vfile = require('to-vfile')\nconst report = require('vfile-reporter')\n\nconst options = {}\n\nunified()\n  .use(markdown)\n  // add it to unified\n  .use(admonitions, options)\n  .use(remark2rehype)\n  .use(doc)\n  .use(format)\n  .use(html)\n  .process(vfile.readSync('./input.md'), (error, result) => {\n      console.error(report(error || result))\n      if (result) {\n        result.basename = \"output.html\"\n        vfile.writeSync(result)\n      }\n  })\n```\n\n## Docusaurus v2\n\n`@docusaurus/preset-classic` includes `remark-admonitions`.\n\nIf you aren't using `@docusaurus/preset-classic`, `remark-admonitions` can still be used through passing a `remark` plugin to MDX. \n# Usage\n\nAdmonitions are a block element. \nThe titles can include inline markdown and the body can include any block markdown except another admonition.\n\nThe general syntax is\n\n```markdown\n:::keyword optional title\nsome content\n:::\n```\n\nFor example,\n\n```markdown\n:::tip pro tip\n`remark-admonitions` is pretty great!\n:::\n```\n\n\nThe default keywords are `important`, `tip`, `note`, `warning`, and `danger`.\nAliases for `info` => `important`, `success` => `tip`, `secondary` => `note` and `danger` => `warning` have been added for Infima compatibility.\n\n# Options\n\nThe plugin can be configured through the options object.\n\n## Defaults\n\n```ts\nconst options = {\n  customTypes: customTypes, // additional types of admonitions\n  tag: string, // the tag to be used for creating admonitions (default \":::\")\n  icons: \"svg\"|\"emoji\"|\"none\", // the type of icons to use (default \"svg\")\n  infima: boolean, // wether the classes for infima alerts should be added to the markup\n}\n```\n\n## Custom Types\n\nThe `customTypes` option can be used to add additional types of admonitions. You can set the svg and emoji icons as well as the keyword. You only have to include the svg/emoji fields if you are using them. \nThe ifmClass is only necessary if the `infima` setting is `true` and the admonition should use the look of an existing Infima alert class.\n\n```ts\nconst customTypes = {\n  [string: keyword]: {\n    ifmClass: string,\n    keyword: string,\n    emoji: string,\n    svg: string,\n  } | string\n}\n```\n\nFor example, this will allow you to generate admonitions will the `custom` keyword.\n\n```js\ncustomTypes: {\n  custom: {\n    emoji: '????',\n    svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path fill-rule=\"evenodd\" d=\"M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z\"></path></svg>'\n  }\n}\n```\n\nTo create an alias for an existing type, have the value be the keyword the alias should point to.\n\n```js\ncustomTypes: {\n  alias: \"custom\"\n}\n```\n\nThe generated markup will include the class `admonition-{keyword}` for styling.\n\nIf the `infima` option is `true`, the classes `alert alert--{type}` will be added to inherit the default Infima styling.\n\n# Styling\n\nYou'll have to add styles for the admonitions. With Docusaurus, these can be added to `custom.css`. \n\n## Infima (Docusaurus v2)\n\nThe Infima theme (`styles/infima.css`) is used by `@docusaurus/preset-classic`.\n\n![infima theme](assets/infima.png)\n\n## Classic (Docusaurus v1)\n\nThe classic theme (`styles/classic.css`) replicates the look of `remarkable-admonitions` and Docusaurus v1.\n\n![classic theme](/assets/classic.png)\n\n# Credit\n\nSyntax and classic theme based on [`remarkable-admonitions`](https://github.com/favoloso/remarkable-admonitions).\n\nThe SVG icons included are from [GitHub Octicons](https://octicons.github.com).","_attachments":{},"homepage":"https://github.com/elviswolcott/remark-admonitions#readme","bugs":{"url":"https://github.com/elviswolcott/remark-admonitions/issues"},"license":"MIT"}