TRIAEIOU / mdast-util-attention

mdast extension to parse and serialize attention style markers

Home Page:https://unifiedjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mdast-util-attention

Mdast extension to handle nodes inserted by micromark-extension-attention.

Modifcations from mdast-util-gfm-strikthrough

  • Create branch
  • Create .remarkignore and add notes.md
  • ./index.js: rename to attentionFrom/ToMarkdown
  • ./lib/index.js: parameterize attentionTo/FromMarkdown, move handleStrikethrough and handleStrikethrough.peek inside attentionToMarkdown to parameterize
  • Rename test.js .test.js
  • Run task npm prepack
  • Push

Note that the shipped npm prepack overwrites custom annotations in the .d.ts files and the eslint errors on import types. Also an .eslintrc had to be added to fix spurious errors in the source.

About

mdast extension to parse and serialize attention style markers

https://unifiedjs.com

License:MIT License


Languages

Language:JavaScript 100.0%