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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for fretty_book-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a367a7d67fc58bc7461b20e71cf269a326fe6cfac076a3e87e57316769963042 |
|
MD5 | caece86533c2262cdb7fca919a0af103 |
|
BLAKE2b-256 | 3081bf0778ff341ef9db79697b39734f788d3bacee96fbd7edfec64bb7d8ed22 |