It's possible write text-align right in Markdown files?
For example write utf8 in Markdown files.
It's possible write text-align right in Markdown files?
For example write utf8 in Markdown files.
By "md file" I assume you're referring to Markdown.
By "text-align: right" you could be referring to either the right-alignment of left-to-right text or referring to right-to-left writing order - which are orthogonal concerns.
right-alignment of left-to-right writing:
style="text-align: right;"
on any parent block-level elements (e.g. <div>
, <p>
, etc) or set a CSS rule (Your Markdown implementation should support inline style=""
attributes, as well as <style>
elements - check your implementation's documentation)right-to-left writing:
utf-8
, utf-16
, etc) (and assuming your Markdown implementation doesn't remove the character) then compliant browsers will render the text in right-to-left order. This detail is fully independent of Markdown and works fine in other file formats too, including plaintext (e.g. in Windows Notepad), word-processors, and plain ol' HTML.