https://github.com/ltcmelo/tmtmipp
The Most Trivial Markup Include Pre-Processor
https://github.com/ltcmelo/tmtmipp
Last synced: about 1 year ago
JSON representation
The Most Trivial Markup Include Pre-Processor
- Host: GitHub
- URL: https://github.com/ltcmelo/tmtmipp
- Owner: ltcmelo
- Created: 2020-02-23T12:35:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T13:30:23.000Z (over 6 years ago)
- Last Synced: 2025-01-25T17:10:00.340Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TMTMIPP
The Most Trivial Markup Include Pre-Processor
Think of this as an automated copy & paste of HTML chunks so that you can reuse content when building a website.
For a better contextual description, take a look at this article: [The Simplest Ways to Handle HTML Includes](https://css-tricks.com/the-simplest-ways-to-handle-html-includes/).
TMTMIPP works through pre-processing: it outpus a version of the input where
tags
``
are replaced by the text of the referenced file.
## Example
```
git clone git@github.com:ltcmelo/tmtmipp.git
cd tmtmipp
./pp.py example
```
By default, a directory named `output` will be created; inside it, you should find a ready-to-be-deployed website.