class Crst::Section

Overview

Represents a section with a title and content

Sections are created from underlined/overlined titles in RST.

Defined in:

crst/nodes.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(title : String, level : Int32) #

[View source]

Instance Method Detail

def children : Array(Crst::Node) #

[View source]
def children=(children : Array(Crst::Node)) #

[View source]
def html_id : String | Nil #

[View source]
def html_id=(html_id : String | Nil) #

[View source]
def level : Int32 #

[View source]
def level=(level : Int32) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]