Class: VivlioStarter::CLI::PreProcessCommands::MarkdownTransformer::FancyMarker
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::PreProcessCommands::MarkdownTransformer::FancyMarker
- Defined in:
- lib/vivlio_starter/cli/pre_process/markdown_transformer.rb
Overview
リストマーカー 1 行ぶんの解析結果。 token はマーカー中身の原文('a' / 'IV' / '3')、gap はマーカー直後の空白 (2 スペース規則の判定に使う)、body は項目本文。 ul マーカー(- * +)は style / separator / token / value が nil。
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#gap ⇒ Object
readonly
Returns the value of attribute gap.
-
#indent ⇒ Object
readonly
Returns the value of attribute indent.
-
#list_type ⇒ Object
readonly
Returns the value of attribute list_type.
-
#separator ⇒ Object
readonly
Returns the value of attribute separator.
-
#style ⇒ Object
readonly
Returns the value of attribute style.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
705 706 707 |
# File 'lib/vivlio_starter/cli/pre_process/markdown_transformer.rb', line 705 def body @body end |
#gap ⇒ Object (readonly)
Returns the value of attribute gap
705 706 707 |
# File 'lib/vivlio_starter/cli/pre_process/markdown_transformer.rb', line 705 def gap @gap end |
#indent ⇒ Object (readonly)
Returns the value of attribute indent
705 706 707 |
# File 'lib/vivlio_starter/cli/pre_process/markdown_transformer.rb', line 705 def indent @indent end |
#list_type ⇒ Object (readonly)
Returns the value of attribute list_type
705 706 707 |
# File 'lib/vivlio_starter/cli/pre_process/markdown_transformer.rb', line 705 def list_type @list_type end |
#separator ⇒ Object (readonly)
Returns the value of attribute separator
705 706 707 |
# File 'lib/vivlio_starter/cli/pre_process/markdown_transformer.rb', line 705 def separator @separator end |
#style ⇒ Object (readonly)
Returns the value of attribute style
705 706 707 |
# File 'lib/vivlio_starter/cli/pre_process/markdown_transformer.rb', line 705 def style @style end |
#token ⇒ Object (readonly)
Returns the value of attribute token
705 706 707 |
# File 'lib/vivlio_starter/cli/pre_process/markdown_transformer.rb', line 705 def token @token end |
#value ⇒ Object (readonly)
Returns the value of attribute value
705 706 707 |
# File 'lib/vivlio_starter/cli/pre_process/markdown_transformer.rb', line 705 def value @value end |