marked-bidi
v1.0.12
Published
marked bidirectional text support
Downloads
489,906
Readme
marked-bidi
Add Bidirectional text support to the HTML
Usage
import {marked} from "marked";
import markedBidi from "marked-bidi";
// or UMD script
// <script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js"></script>
// <script src="https://cdn.jsdelivr.net/npm/marked-bidi/lib/index.umd.js"></script>
marked.use(markedBidi());
marked("راست left");
// <p dir="auto">راست left</p>