Markdown extra - add class to a text


#1

Just enabled Markdown extra, but couldn’t make it work.

Tried some text{.right}, but {.right} just prints out as text. What’s wrong?


#2

@heihachi88

take a look à Markdown Extra doc

At this time, special attribute blocks can be used with

headers,
fenced code blocks,
links, and
images.


#3

Too bad, any other way for text aligning?


#4

in the docs :wink: here

<div markdown="1" class="foo">

  Paragraphs here inherit class foo from above.
  ## Headers here inherit class foo from above. ##

</div>

This requires Markdown Extra


#5

Not so convenient, but thanks :slight_smile: