https://github.com/jasonday/typemill-plugins
Typemill plugins
https://github.com/jasonday/typemill-plugins
flat-file-cms plugins typemill
Last synced: about 2 months ago
JSON representation
Typemill plugins
- Host: GitHub
- URL: https://github.com/jasonday/typemill-plugins
- Owner: jasonday
- License: mit
- Created: 2022-10-10T17:25:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-29T00:24:21.000Z (over 3 years ago)
- Last Synced: 2025-06-03T00:14:20.311Z (about 1 year ago)
- Topics: flat-file-cms, plugins, typemill
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
[](https://www.paypal.com/paypalme/MoveMaineLLC/5)
# Typemill Plugins
A set of plugins for the [Typemill](https://github.com/typemill) flat file CMS.
## Custom CSS
* Add custom CSS to your site.
* A default style.css already exists. If using that file, just enter that file name into the field.
* Custom CSS files must be located in the `plugins/customcss/css` directory
## Custom JS
* Add custom javascript to your site.
* A default script.js already exists. If using that file, just enter that file name into the field.
* Custom javascript files must be located in the `plugins/customjs/js` directory
## HTMLopen and HTMLclose shortcodes
* Adds configurable html tags to content via shortcodes
* Plugins/shortcodes must be used together (HTML must have an opening and closing tag to be valid HTML and to render correctly)
* Use
```
[:htmlopen tag="div" id="author" class="card":]
my content
[:htmlclose tag="div":]
```
Outputs:
```
my content
```
* Can nest shortcodes just like HTML for complex layouts & elements in Typemill markdown
* _Need to extend for other HTML attributes (for iframes, etc.)_