Class: Metanorma::Plugin::Glossarist::NonVerbalFormatters::Table

Inherits:
Base
  • Object
show all
Defined in:
lib/metanorma/plugin/glossarist/non_verbal_formatters/table.rb

Overview

Renders a Glossarist::Table as an AsciiDoc table block.

Two payload shapes are supported:

- +format: structured+ — +content+ has +headers+ and +rows+
  arrays, rendered as an AsciiDoc table.
- +format: asciidoc+ (or any non-structured) — +content+ is a
  raw markup string emitted verbatim between caption and the
  next block.

Constant Summary collapse

STRUCTURED =
"structured"

Method Summary

Methods inherited from Base

#initialize, #to_asciidoc

Constructor Details

This class inherits a constructor from Metanorma::Plugin::Glossarist::NonVerbalFormatters::Base