Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greyblake/rails_markdown
Allows you to use markdown templates with placeholders in rails application}
https://github.com/greyblake/rails_markdown
Last synced: about 1 month ago
JSON representation
Allows you to use markdown templates with placeholders in rails application}
- Host: GitHub
- URL: https://github.com/greyblake/rails_markdown
- Owner: greyblake
- License: other
- Created: 2011-11-11T18:05:49.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-11T18:06:50.000Z (about 13 years ago)
- Last Synced: 2024-09-21T13:14:05.478Z (about 2 months ago)
- Language: Ruby
- Homepage: https://github.com/greyblake/rails_markdown
- Size: 97.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
Awesome Lists containing this project
README
# rails\_markdown
Copyright: 2011 TMX Credit
Author: Potapov Sergey (aka Blake)
## Description
This plugin allows you to use markdown templates with placeholders as you use erb or haml.
## Usage
In Gemfile:
gem 'rails_markdown'
Create template `/path/to/your/template.html.markdown`:
# Hello, Mr {{@name}}!
Right now is {{Time.now}}## Contributing to rails\_markdown
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
* Fork the project
* Start a feature/bugfix branch
* Commit and push until you are happy with your contribution
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.