2 ms·
I know this isn't the fault of the author but I don't like the way periods seem to be overloaded in the Haml example: %h2.f2.helvetica.strike The first pe
by krapp 8y ago
I know this isn't the fault of the author but I don't like the way periods seem to be overloaded in the Haml example:
%h2.f2.helvetica.strike
The first period denotes a tag on the left and a class attribute on the right, but the other periods just denote sibling classes. They don't parse into the same syntax, and my instinct is to read it as (h2 (f2 (helvetica (strike))) but that's not what's happening.
And adding significant whitespace to Markdown and everything else to me just serves to obfuscate and abstract away the one thing I most want in a markup language that emits HTML, which is to easily visualize the tree and the markup.