converters: list[str, dict[str, str]] = { "title": { "from_prefix": "# ", "from_suffix": "\n", "to_prefix": "

", "to_suffix": "

", }, "subtitle": { "from_prefix": "## ", "from_suffix": "\n", "to_prefix": "

", "to_suffix": "

", }, "subsubtitle": { "from_prefix": "### ", "from_suffix": "\n", "to_prefix": "

", "to_suffix": "

", }, "subsubsubtitle": { "from_prefix": "#### ", "from_suffix": "\n", "to_prefix": "

", "to_suffix": "

", }, "quote": { "from_prefix": "`", "from_suffix": "`", "to_prefix": "

", "to_suffix": "

", }, "bold": { "from_prefix": "**", "from_suffix": "**", "to_prefix": "", "to_suffix": "", }, "code": { "from_prefix": "```", "from_suffix": "```", "to_prefix": "
",
        "to_suffix": "
", }, "image": { "from_prefix": "![", "from_suffix": "]", "to_prefix": "", }, "block": { "from_prefix": "-----", "from_suffix": "-----", "code": "bozodown:block", }, "checkbox_clear": { "from_prefix": "- [ ] ", "from_suffix": "\n", "to_prefix": "
  • ", "to_suffix": "
  • ", }, "checkbox_full": { "from_prefix": "- [x] ", "from_suffix": "\n", "to_prefix": "
  • ", "to_suffix": "
  • ", }, "newline": { "from_prefix": "
    ", "from_suffix": "", "to_prefix": "
    ", }, } text_converter: dict[str, str] = { "from_prefix": "", "to_prefix": "

    ", "to_suffix": "

    ", }