Sha256: ece77095e412a4ae5fb82a06d189a45bcf8d56d9e811d8e2eced8bb692d1697b
Contents?: true
Size: 343 Bytes
Versions: 9
Compression:
Stored size: 343 Bytes
Contents
module ReverseAdoc module Converters class Aside < Base def convert(node, state = {}) id = node['id'] anchor = id ? "[[#{id}]]\n" : "" content = treat_children(node, state).strip "\n\n****\n" << treat_children(node, state) << "\n****\n\n" end end register :aside, Aside.new end end
Version data entries
9 entries across 9 versions & 1 rubygems