fretty-book can replace inline fretty markup within documents with the generated images
Project description
fretty-book
fretty-book can replace inline fretty markup within documents with the generated images.
Installation
pip install fretty-book
Usage
fretty-book example/simple.html -o simple.html
Markup
fretty-book can process HTML and XHTML documents. All <fretty> tags will be replaced with the image generated with the included markup.
html
This markup ...
<!DOCTYPE html>
<html>
<head>
<title>test document</title>
</head>
<body>
<h3>Fretty test document for html processing</h3>
<p>Tabs for C major scale</p>
<fretty width="400">
III
--o-o1
--oo-o
-o1-o-
o-o-o-
1-o-o-
o-o-o-
</fretty>
</body>
</html>
will produce this result:
Fretty test document for html processing
Tabs for C major scale
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 Distributions
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 fretty_book-0.2-py3-none-any.whl.
File metadata
- Download URL: fretty_book-0.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aefe47f0c9d299fda8ea4784ddaf765ec5abbd8f1a594f7e2c259d764ab5b85
|
|
| MD5 |
2e29ed8260b9c4abe0528019817d4b3b
|
|
| BLAKE2b-256 |
0f0a78f6971d9c0c9ccdc7a09e78667f47438b003ecfbb7fa04173fbdf153373
|