I do like this suggestion, however I’m not a fan of the curly braces.
They seem to be redundant and unnecessarily complicate the directive: which options go into parenthesis ()
and which into braces {}
?
Would it not be sufficient to only permit options in parenthesis, then we have the common link syntax with the additional @
directive in front of it.
I’d like to add an example for CSS syles:
-
@style[content](classNames)
as in@style[TODO](important)
where important is a CSS class name
I realize that the curly braces would allow you to do more advanced CSS styling, however I don’t believe that would be such a great idea. First off it’s not very Markdown-y, wheres only using class names (as in the example) remains readable. From a maintenance point of view, inline CSS sounds like a recipe for unmaintainable, unreadable documents.