27 lines
724 B
Ruby
27 lines
724 B
Ruby
|
# -*- coding: utf-8; frozen_string_literal: true -*-
|
||
|
#
|
||
|
#--
|
||
|
# Copyright (C) 2009-2019 Thomas Leitner <t_leitner@gmx.at>
|
||
|
#
|
||
|
# This file is part of kramdown which is licensed under the MIT.
|
||
|
#++
|
||
|
#
|
||
|
|
||
|
module Kramdown
|
||
|
|
||
|
# This module contains all available parsers. A parser takes an input string and converts the
|
||
|
# string to an element tree.
|
||
|
#
|
||
|
# New parsers should be derived from the Base class which provides common functionality - see its
|
||
|
# API documentation for how to create a custom converter class.
|
||
|
module Parser
|
||
|
|
||
|
autoload :Base, 'kramdown/parser/base'
|
||
|
autoload :Kramdown, 'kramdown/parser/kramdown'
|
||
|
autoload :Html, 'kramdown/parser/html'
|
||
|
autoload :Markdown, 'kramdown/parser/markdown'
|
||
|
|
||
|
end
|
||
|
|
||
|
end
|