Minimum Text Markup Language simplifies <></> based languages.
Here is how you write it:
div:
p:
"This is a paragraph inside a div.
p:
'As you can see, indentation is important (it should be tabs), you write the content inside of it by putting " or ' at the begining.
inventedTag class="this-is-a-example-of-how-you-can-pass-parameters-to-a-tag:
'the only thing you should be aware of is not to mess = and : up when outside a string
'You don't need to pass the content all in the same line (though the parser will read it as if it was), just keep putting 'at the
'begining and you'll be ready to go. Want to actually render ' at the begining? Just write '' instead of '.
ifYouDontWannaCloseATag justDont="put_the_:_at_the_end"
Now, let's compare this example with what it would be with <> notations (and some comments in (())double parenthesis):
<div>
<p>
This is a paragraph inside a div.</p>
<p>
As you can see, indentation is important (it should be tabs), you write the content inside of it by putting " or ' at the begining</p> ((not here)).
<inventedTag class="this-is-a-example-of-how-you-can-pass-parameters-to-a-tag>
<p>the only thing you should be aware of is not to mess = and : up when outside a string ((same))</p>
<p>You don't need to pass the content all in the same line (though the parser will read it as if it was),((same)) just keep putting 'at the</p>
<p>begining and you'll be ready to go. Want to actually render ' at the begining? Just write '' instead of '.(not here)</p>
<ifYouDontWannaCloseATag justDont="put_the_:_at_the_end">(not here)
</inventedTag>
</div>
- As no software actually supports it, you need to parse it first so you can use it - You can do this here.
- You can write code inside tags too as long as you prefix every line with a ' or " - so the parser won't read it as a tag.