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) #

Instance Method Detail

def backtick? #

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


def character : Char #

def length : Int32 #

def offset : Int32 #

def tilde? #

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