Learning how to make a remark plugin.

Outline

  1. I am making a thing (spellbook) that led to me wanting to make a remark plugin.
  2. making a remark plugin is hard and i need to make a blog post so i can remember how.
  3. First you must understand how to visit parts of the tree.
    1. this requires visit
      1. using visit requires knowing how to use is for selectors
  4. Then you can hack it a bit and do what is done on platforms
    1. He used a clever trick to slap in some raw JSX by calling it HTML
  5. Or you can go legit with this API

Thanks for coming to my ted talk.