https://github.com/weakish/creole2md
Convert creole to markdown.
https://github.com/weakish/creole2md
Last synced: 12 months ago
JSON representation
Convert creole to markdown.
- Host: GitHub
- URL: https://github.com/weakish/creole2md
- Owner: weakish
- License: mit
- Created: 2015-01-02T14:37:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-12-21T12:24:56.000Z (over 8 years ago)
- Last Synced: 2025-06-01T14:58:33.188Z (about 1 year ago)
- Language: Ruby
- Size: 2.93 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Creole2md
[](http://badge.fury.io/rb/creole2md)
This gem converts creole to html, then converts html to markdown.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'creole2md'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install creole2md
## Usage
```ruby
require 'creole2md'
Creole2md.convert(text)
```
A command line converter is also provided:
```sh
creole2md in.creole > out.md
cat in.creole | creole2md > out.md
```
## Contributing
1. Fork it ( https://github.com/weakish/creole2md/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request