Skip to content

ericdmoore/rehype-all-the-thumbs-obviate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

rehype-all-the-thumbs-obviate

Supporting rehype-all-the-thumbs by preventing needless work

Obviate: (Great word right?) It's defined as : To keep from happening or render unnecessary. Which is what we are doing to the backlog of items.

Overview

Configuration:

  • read file closure ?
  • { read: async (s) => Promise<boolean> }

Input:

  • a HAST tree
  • vfile with added newAssets key added to the object

Output:

  • vfile with newAssets array filtered to only hold files that need to be generated based on the read function results

Pairs Well With:

About

Supporting `rehype-all-the-thumbs` by preventing needless work

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published