swift-markdown-ui icon indicating copy to clipboard operation
swift-markdown-ui copied to clipboard

Indent Functionality Not Working as Expected

Open RizwanaDesai opened this issue 5 months ago • 1 comments

I'm trying to add an indent to a paragraph when the user clicks the indent button. The goal is to apply a tab space to the entire paragraph (including wrapped lines). I don't want to use spaces in the beginning because in different device size it will mess it all up.

I've attempted to use three backticks (```) to indent the paragraph, but it didn't work, even not indented a single line. I also tried using quote formatting as an alternative, but it didn't work as expected. Please see the attached screenshot for reference.

MarkdownUI UItextview

Expected behavior I expect that surrounding the paragraph with three backticks will indent the entire paragraph. If I'm missing something, please let me know how I can achieve the desired result shown in the screenshot.

expected output

I would appreciate any help with this!

RizwanaDesai avatar Sep 26 '24 09:09 RizwanaDesai