Replies: 1 comment 3 replies
-
It could also be even trickier, and I think this is not how the partial works, we would need to replace the current wow with partials involves generating the AST, adding it to |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
We are evaluating moving away from asciidoc, but I want to ensure we have support for all the current features we are using.
One of the features is including local or external files (kind of like partials) but where you can also specify a line range to include.
https://docs.asciidoctor.org/asciidoc/latest/directives/include-lines/
Would it make sense to ship this as part of the core or do you see it being something external (AKA implement it yourself).
I can imagine something like this
unsafe: true
attribute passed to .parse() for safety reasons, so that by default we never allow including external files that are not in the file system).I understand there are some things to consider (and I'm probably missing some cases) but correct me if I'm wrong.
.parse
Thanks for your input and work! I'm very excited about markdoc
Beta Was this translation helpful? Give feedback.
All reactions