Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethercreative/markdown
A Markdown fieldtype for Craft CMS
https://github.com/ethercreative/markdown
Last synced: about 2 months ago
JSON representation
A Markdown fieldtype for Craft CMS
- Host: GitHub
- URL: https://github.com/ethercreative/markdown
- Owner: ethercreative
- Created: 2016-01-25T23:08:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-01T16:29:47.000Z (almost 9 years ago)
- Last Synced: 2023-02-27T22:51:57.110Z (almost 2 years ago)
- Language: JavaScript
- Size: 763 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Markdown for Craft CMS](resources/imgs/banner.jpg)
# Markdown for Craft CMS
Clone this repo into `craft/plugins/markdown` & create a new **Markdown** field.
You can display the field in your templates simply using `{{ entry.myMarkdownField }}`.**Supports:**
* [Pagination](https://craftcms.com/docs/rich-text-fields#getPages) *(with `{pagebreak}`)*
* [Reference Tags](https://craftcms.com/docs/reference-tags)
* [Markdown Extra](https://michelf.ca/projects/php-markdown/extra/)![Markdown Field](resources/imgs/preview.png "Markdown for Craft CMS")
## Changelog
### 1.1.3
* Fixed bug where content was returned with `{pagebreak}`'s still visible.
### 1.1.2
* Branding!
### 1.1.1
* Added syntax highlighting for references
### 1.1.0
* Simplified template output
* Added pagination support
* Minified field javascript### 1.0.0
* Initial release
---
Copyright © 2016 [Ether Creative](http://ethercreative.co.uk)Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.