Class: Coradoc::Markdown::OpenBlock

Inherits:
Base
  • Object
show all
Defined in:
lib/coradoc/markdown/model/open_block.rb

Overview

Open block — generic container that groups content without semantic formatting. Used in AsciiDoc to apply IDs/attributes to a group.

Markdown has no native container. The serializer's OpenBlock strategy:

- Without id/classes → emit children as siblings (no wrapper)
- With id/classes    → emit `<div id="...">...</div>` wrapper

Method Summary

Methods inherited from Base

visit, #visit