You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!)
4
4
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)
6
7
7
8
## Installation
8
9
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:
Just clone the repository and try `bundle exec rake compile` to compile the executable.
11
+
(bundler >= 2.4, RubyGems 3.4.6 required)
18
12
19
13
## Usage
20
14
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
+
```
26
20
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
+
```
28
26
29
27
## Contributing
30
28
@@ -36,4 +34,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
36
34
37
35
## Code of Conduct
38
36
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