Argdown-Markdown - the need to repeat header for every map #252
Replies: 3 comments 2 replies
-
If you use {
"color": {
"colorScheme": "iwanthue-colorblind-friendly",
"tagColors": {
"note": 3,
"note2": 2,
"pro": 4
}
},
"model": {
"removeTagsFromText": true,
"selection": {
"excludeDisconnected": false
}
}
} For the VSCode Markdown preview: VSCode does not tell Markdown-It what file is currently parsed (it only gives it the text content of the file). Without that information it is not possible for plugins like the Argdown plugin to know where to look for the So much to my regret I could not implement this feature. Take a look at this issue for more information. |
Beta Was this translation helpful? Give feedback.
-
Hello Christian, Thank you for explaining. Could something like this marp-team/marp-vscode@a7f3c5e be used to resolve the file location? The use case would be that presently, without this in VSCode I have two options:
Do you think this merits a messy fix, or better to wait for VS team to offer another way of locating the file? I'll be happy to vote for the request if there is another case opened |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm an author of original issue microsoft/vscode#84846. Since VS Code 1.57, the current Markdown document has been exposed to markdown-it I don't know if this change helps to resolve config of argdown. Just wanted to report the latest status 😉 |
Beta Was this translation helpful? Give feedback.
-
Hi Christian,
I greatly appreciate the value Argdown-Markdown syntax brings. However, my argdown headers are usually quite thick: I have title, subTitle, author, date, color, model, selection
It appears that every time I insert an argdown map I have to at least include the color, model and selection. I can't just include all these values at the top of the document and then have all maps below inherit these values.
Is there any chance I can define these values globally? For example, this is what I presently have to copy/paste into the head of each
argdown
capsule:Beta Was this translation helpful? Give feedback.
All reactions