Skip to content

Commit e1ac6d2

Browse files
committed
chore: update README
1 parent 25029e6 commit e1ac6d2

1 file changed

Lines changed: 17 additions & 19 deletions

File tree

README.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
1-
# MarkdownIt
1+
# MarkdownItRubyfiedSample
22

3-
TODO: Delete this and the text below, and describe your gem
3+
The gem is built based on [markdown-it-rust](https://github.com/markdown-it-rust/markdown-it), which provides a super powerful parser mechanisms with highly-customizeable modular design. (I recommend you to check markdown-it-rust github page if you are interested!)
44

5-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/markdown_it_ruby`. To experiment with that code, run `bin/console` for an interactive prompt.
5+
On top of default parser plugins, this gem adds a few utility add-ons that can be activated via options
6+
Packaged as Ruby gem (NOTE: it's still experimental)
67

78
## Installation
89

9-
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10-
11-
Install the gem and add to the application's Gemfile by executing:
12-
13-
$ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
14-
15-
If bundler is not being used to manage dependencies, install the gem by executing:
16-
17-
$ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
10+
Just clone the repository and try `bundle exec rake compile` to compile the executable.
11+
(bundler >= 2.4, RubyGems 3.4.6 required)
1812

1913
## Usage
2014

21-
TODO: Write usage instructions here
22-
23-
## Development
24-
25-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
15+
* using with console
16+
```
17+
$ bin/console
18+
>
19+
```
2620

27-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
21+
* benchmark
22+
```
23+
$ cd bench
24+
$ ruby bench.rb
25+
```
2826

2927
## Contributing
3028

@@ -36,4 +34,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
3634

3735
## Code of Conduct
3836

39-
Everyone interacting in the MarkdownIt project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/markdown_it_ruby/blob/main/CODE_OF_CONDUCT.md).
37+
Everyone interacting in the MarkdownItRubyfiedSample project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/markdown_it_ruby/blob/main/CODE_OF_CONDUCT.md).

0 commit comments

Comments
 (0)