Replies: 1 comment 4 replies
-
We could definitely output
I'm not sure what you want to do with below, what is its output? Is this just the signature of the blocks' options? Or you declare this once on a page, and then use the above?
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on the next iteration of the tags plugin. We want to make usage of tags indexes much more flexible and declarative, allowing the author to define inline tags indexes with YAML configuration which we then validate in the plugin. I've read the block and superfences docs, and don't think this is possible, but I wanted to ask nonetheless. Essentially, I need to read and transform a configuration provided by the author to a placeholder anchor that the plugin later will replace with the tags index.
The syntax could be something like:
Create a scoped tags index (only for the current subtree) that includes pages tagged with foo and bar:
Create a tags index with the configuration named "foo" as defined in
mkdocs.yml
:For each of those listings, I need to produce something like:
###### $unique-id
This will later be replaced with the tags index. My current solution is to use a custom syntax like☺️
<!-- @tags ... -->
, but that is clearly not the best solution, as it would be amazing if we could resort to established syntax. As I've written, I'm not seeing how this can be done with a Markdown extension, but I wanted to ask you, @facelessuser, as you've written quite some of themBeta Was this translation helpful? Give feedback.
All reactions