v.23.9New Feature

Added Output Format Setting for Escaping Special Characters in Markdown

Added a format setting output_format_markdown_escape_special_characters (default: false). The setting controls whether special characters like !, #, $ etc. are escaped (i.e. prefixed by a backslash) in the Markdown output format. #53860 (irenjj).
Added a new format setting output_format_markdown_escape_special_characters to control escaping of special characters in the Markdown output format.

Why it matters

This feature solves the problem of Markdown output containing unescaped special characters such as !, #, and $ which can break Markdown rendering. By escaping these characters, users can ensure that the output is syntactically correct and renders properly in Markdown viewers.

How to use it

Enable escaping of special characters in Markdown output by setting output_format_markdown_escape_special_characters = 1 when executing queries. The setting defaults to false, so escaping must be explicitly enabled to apply this behavior.