Markd::Options
Markdown rendering options.
Constructors
Instance methods
If true, more autolinks will be detected.
Setting to false does not disable autolink support as a whole.
If true, more autolinks will be detected.
Setting to false does not disable autolink support as a whole.
If base_url is not nil, it is used to resolve URLs of relative
links. It act's like HTML's <base href="base_url"> in the context
of a Markdown document.
If base_url is not nil, it is used to resolve URLs of relative
links. It act's like HTML's <base href="base_url"> in the context
of a Markdown document.
Enables GFM emoji support.
For example:
@octocat :+1: This PR looks great - it's ready to merge! :ship:
Becomes:
@octocat 👍 This PR looks great - it's ready to merge! 🚢
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#using-emojis
Enables GFM emoji support.
For example:
@octocat :+1: This PR looks great - it's ready to merge! :ship:
Becomes:
@octocat 👍 This PR looks great - it's ready to merge! 🚢
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#using-emojis
If true, code tags generated by code blocks will have a
prettyprint class added to them, to be used by
Google code-prettify.
If true, code tags generated by code blocks will have a
prettyprint class added to them, to be used by
Google code-prettify.
If true, raw HTML will not be passed through to HTML output
(it will be replaced by comments).
If true, raw HTML will not be passed through to HTML output
(it will be replaced by comments).
If true:
- straight quotes will be made curly
--will be changed to an en dash---will be changed to an em dash...will be changed to ellipses
If true:
- straight quotes will be made curly
--will be changed to an en dash---will be changed to an em dash...will be changed to ellipses
If true, source position information for block-level elements
will be rendered in the data-sourcepos attribute (for HTML).
If true, source position information for block-level elements
will be rendered in the data-sourcepos attribute (for HTML).
If true, the following HTML tags will be filtered when rendering HTML output:
<title><textarea><style><xmp><iframe><noembed><noframes><script><plaintext>
All other HTML tags are left untouched.
If true, the following HTML tags will be filtered when rendering HTML output:
<title><textarea><style><xmp><iframe><noembed><noframes><script><plaintext>
All other HTML tags are left untouched.