struct Cmark::FencingDetails

Overview

An inmutable record that represents fencing details of a node with NodeType::CodeBlock.

Defined in:

cmark/fencing_details.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(length : Int32, offset : Int32, backtick = true) #

[View source]

Instance Method Detail

def backtick? #

Returns true if the fencing character is a backtick [~]


[View source]
def character : Char #

[View source]
def length : Int32 #

[View source]
def offset : Int32 #

[View source]
def tilde? #

Returns true if the fencing character is a tilde [`]


[View source]