Skip to content

Conversation

Xunnamius
Copy link
Contributor

@Xunnamius Xunnamius commented Oct 30, 2022

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and couldn’t find anything (or linked relevant results below)
  • If applicable, I’ve added docs and tests

Description of changes

Available here: https://github.com/Xunnamius/unified-utils/tree/main/packages

This is a utility that lets you hide mdast nodes from transforms (i.e. stash them away as the "hidden children" of a Hidden node) and then reveal them later.

Useful for plugins like remark-ignore and remark-renumber-references where it's necessary to hide nodes while executing third-party/vendor transformations.

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Oct 30, 2022
@wooorm wooorm merged commit 5bb157f into syntax-tree:main Oct 31, 2022
@wooorm wooorm added 📚 area/docs This affects documentation 💪 phase/solved Post is done labels Oct 31, 2022
@github-actions

This comment has been minimized.

@wooorm
Copy link
Member

wooorm commented Oct 31, 2022

Thank you! Cool idea :)

@github-actions github-actions bot removed the 🤞 phase/open Post is being triaged manually label Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 area/docs This affects documentation 💪 phase/solved Post is done
Development

Successfully merging this pull request may close these issues.

2 participants