As an addition to stock Markdown text markup, you can add HTML attributes to spans and blocks of text. To do this you use a general syntax like the following:

{: attribute_1="value_1" attribute_2="value_2" }

after a text span or block. "What is a 'text span or block'?", you may ask. Well, that's a good question. Generally they are anything that mark up speciffically, like italic text, or are clear text blocks.

BTW, I'll use 'style="..."' attributes in this example, but, honestly, I think this is really bad practice -- I think it's much better to define clear CSS classes or IDs and use those in your text, but for these examples, It's probably clearly to see the affect of the styles directly.

Ok, some examples. Let's say you wanted to color an italic word red. You could use the following markup:

Some text is *really* {: style="color: red"} important.

which would look like:


Some text is really important.


powered by tartan and informl from folklogic