As for Markdown, you can switch the default CKEditor 5 output from HTML to Markdown: https://ckeditor.com/docs/ckeditor5/latest/features/markdown...
And Markdown input is provided by a customizable autoformatting feature. It's enabled by default in all CKEditor 5 builds.