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

Protected / ignored / frozen / locked tags #3

Open
croqaz opened this issue Jun 30, 2023 · 0 comments
Open

Protected / ignored / frozen / locked tags #3

croqaz opened this issue Jun 30, 2023 · 0 comments

Comments

@croqaz
Copy link
Member

croqaz commented Jun 30, 2023

This feature already exists in 0.6 ++. You can wrap a part of your text file in {ignore} ... {/ignore} tags and everything inside will NOT be executed.

You can also have tags with freeze=true, that will not be executed, which gives you control for each and every tag.

This is useful to show documentation files about TwoFold, without executing the examples. Also useful to protect a sensitive document, to make sure TwoFold won't execute anything inside a part of the document.

Question about naming:

  • ignore ?
  • protect ?
  • freeze / frozen ?
  • lock / locked ?
  • something else ??
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant