Sha256: 886559ee6af18e59557bfbb397425b742eeda2712a42e295a5e71a7d87c21c54

Contents?: true

Size: 509 Bytes

Versions: 5

Compression:

Stored size: 509 Bytes

Contents

#+hidden: true
require "./setup"

#+title3: Code snippet

# Separated by blank lines.

#+BEGIN_SRC
puts Source2MD::Section.new(<<~EOS).to_md
  hello = -> {
    "Hello, world!"
  }

  #+partial_code_name: (name)
  #+partial_code_lang: (ruby)
  hello.call
EOS
#+END_SRC

# > ```ruby
# > hello = -> {
# >   "Hello, world!"
# > }
# > ```

# > ```(ruby):(name)
# > hello.call
# > ```

# >> ```ruby
# >> hello = -> {
# >>   "Hello, world!"
# >> }
# >> ```
# >> 
# >> 
# >> ```(ruby):(name)
# >> hello.call
# >> ```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
source2md-0.0.19 doc/0110_code_small.rb
source2md-0.0.18 doc/0110_code_small.rb
source2md-0.0.17 doc/0110_code_small.rb
source2md-0.0.16 doc/0110_code_small.rb
source2md-0.0.15 doc/0110_code_small.rb