[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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file paml2html-0.1.1.tar.gz.
File metadata
- Download URL: paml2html-0.1.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.9.2 Linux/5.10.0-21-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db661cba5c1303a67b26c5533ad87f43f6e542a58c75f0cd5dec9e730bbb1fb8
|
|
| MD5 |
6e485331414c04b92cc49d3ee37e5f23
|
|
| BLAKE2b-256 |
68e466d9aceaf63fc6057a4d4fe2e4d4fcf519ad69cf4398a80558c1b23f2467
|
File details
Details for the file paml2html-0.1.1-py3-none-any.whl.
File metadata
- Download URL: paml2html-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.9.2 Linux/5.10.0-21-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e7d89e75e55dd9aed7593caf408e30f75d4b1eadbe5d8ead0f5ed245685622b
|
|
| MD5 |
2055f5821f9a2ce941f8f25c443911d4
|
|
| BLAKE2b-256 |
baef6b9929f7bccf2b0e054e6491646350a51a460ca232f40e42f474b0c541e4
|