Welcome to MarkupIt’s documentation!
MarkupIt is a Python-based command-line interface (CLI) application designed to easily convert markup languages. It provides a simple way to convert Markdown (GitHub Flavored Markdown) files into Typst and LaTeX formats.
Installation
Prerequisites
python and poetry have to be installed.
Installation
To install MarkupIt, follow these steps in cloned repository:
# create a virtual environment
poetry shell
# install the package
poetry install
# run the package
markupit
Usage
Once installed, you can use the markupit command to convert your Markdown files. The basic usage is as follows:
# output written on screen
markupit --from <input_format> --to <output_format> -i <input_file>
# output written to file
markupit --from <input_format> --to <output_format> -i <input_file> -o <output_file>
Example
To convert a Markdown file named example.md to Typst and LaTeX formats:
markupit --from md --to typst -i example.md -o example.typ
markupit --from md --to latex -i example.md -o example.tex
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project mentor
Pages:
Modules: