22 lines
229 B
Plaintext
22 lines
229 B
Plaintext
|
normal
|
||
|
|
||
|
```ruby
|
||
|
require 'kramdown'
|
||
|
|
||
|
Kramdown::Document.new(text).to_html
|
||
|
```
|
||
|
|
||
|
indent with tab
|
||
|
|
||
|
```ruby
|
||
|
require 'kramdown'
|
||
|
|
||
|
Kramdown::Document.new(text).to_html
|
||
|
```
|
||
|
|
||
|
indent with 2 spaces
|
||
|
|
||
|
```js
|
||
|
console.log("hello");
|
||
|
```
|