M2R(1)
β¨ M2R(1) β¨
okay bestie, so this is m2r, a lil command-line tool that lives in the User Commands section of the manual (that's the (1) btw, iykyk) π
πΈ NAME πΈ
m2r β the command-line tool that converts markdown that has reStructuredText (rst) inside it into reStructuredText π¦
no cap, that's the whole job. it takes your md and hands you back rst, and honestly? it ate.
π DESCRIPTION π
here's how you run it, and yes it's giving:
usage: m2r [-h] [--overwrite] [--dry-run] [--no-underscore-emphasis]
[--parse-relative-links] [--anonymous-references]
[--disable-inline-math] [input_file ...]
π positional arguments:
input_fileβ the files you wanna convert into reST format π (you can pass more than one, she's flexible like that)
π§ options:
-h,--helpβ shows you this help message and then dips. classic. β¨--overwriteβ overwrites the output file without confirmation π no "are you sure?" bestie, it just goes. be careful with this one fr fr--dry-runβ prints the conversion result instead of saving it to an output file π perfect for a lil vibe check before you commit--no-underscore-emphasisβ tells her not to use underscore (_) for emphasis π--parse-relative-linksβ parses relative links intorefordocdirectives π₯--anonymous-referencesβ uses anonymous references in the generated rst π--disable-inline-mathβ disables parsing inline math π (the math girlies are gonna be so sad but okay)
ngl, if you're converting docs and you want the rst to come out clean on the first try,--dry-runis your bestie before you let--overwriteanywhere near your files π
and that's the whole page! stay slay, convert responsibly π«Ά
m2r 0.3.1 πΈ January 2023 π and yeah, it's filed under M2R(1) β mwah, love u, bye π β¨
π¦ where this page comes from
- debian bookworm: m2r 0.3.1-0.1 Β· MIT
- ubuntu noble: m2r 0.3.1-0.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms