Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a reference to mdast-util-hidden #41

Merged
merged 1 commit into from
Oct 31, 2022
Merged

Add a reference to mdast-util-hidden #41

merged 1 commit into from
Oct 31, 2022

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