RTL in Markdown

前端 未结 6 1515
离开以前
离开以前 2021-01-30 03:05

Is there any existing addon spec for markdown that includes support for RTL languages?

What I\'m hoping for is something like

This paragraph is left t         


        
6条回答
  •  逝去的感伤
    2021-01-30 03:35

    Actually as my friend Aevyz reminded me, Markdown parses HTML in it.

    You won't need to change your parser. The quickest path to solve that I could think of is this:

    سلام دنیا مرحبا العالم שלום בעולם ہیلو دنیا

    So you need to add literally two lines to turn a whole document RTL, and by the way it will be better compatible than an own script. So i think this is an answer to the question.

提交回复
热议问题