[P]oker's M[a]de-up [M]arkup [L]anguage to HTML converter
Project description
paml2html is a proof-of-concept converter making HTML from [P]oker's M[a]de-up [M]arkup [L]anguage. PaML's docs can be found here. You can also track PaML's & paml2html's development on my Vikunja list!
Prerequisites
Installation
Download the files
- Clone the repo:
git clone https://github.com/PokerFacowaty/paml2html
- ... or simply download
src/paml2html.py
Usage
To use paml2html by itself, simply start it when in the same directory:
python paml2html.py
(or if you have Python 2 installed)
python3 paml2html.py
...or you can also import it and use in a different file with import paml2html
by calling the paml2html.convert_from_file()
or paml2html.convert_from_text()
function and providing a filepath or text
Arguments
paml2html.py [-h] [--indent INDENT] source_file destination_file
-h, --help
- show help--indent <number>
- the optional amount of spaces used to indent the HTML file, indentation is off by defaultsource_file
- source text file containing PaML contentdestination_file
- file for the resulting HTML content
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for paml2html-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e7d89e75e55dd9aed7593caf408e30f75d4b1eadbe5d8ead0f5ed245685622b |
|
MD5 | 2055f5821f9a2ce941f8f25c443911d4 |
|
BLAKE2b-256 | baef6b9929f7bccf2b0e054e6491646350a51a460ca232f40e42f474b0c541e4 |