Markdown ExtensionsBy default R Markdown is defined as all pandoc markdown extensions with the following tweaks for backward compatibility with the markdown package:
+autolink_bare_uris+ascii_identifier+tex_math_single_backslashYou can enable or disable markdown extensions using the md_extensions option (you preface an option with - to disable and + to enable it). For example:
---title: "Habits"output: html_document: md_extensions: -autolink_bare_uris+hard_line_breaks---The above would disable the autolink_bare_uris extension and enable the hard_line_breaks extension.
For more on available markdown extensions see the pandoc markdown specification.