module GitlabKramdown::Parser::Escape
Escape
chars support
This is a standalone parser because making it so is an optimization
Based on Kramdown
GFM implementation
Constants
- ESCAPED_CHARS_GFM
Public Class Methods
included(klass)
click to toggle source
# File lib/gitlab_kramdown/parser/escape.rb, line 13 def self.included(klass) klass.define_parser(:escape_chars_gitlab, ESCAPED_CHARS_GFM, '\\\\', :parse_escaped_chars) end