nextcloud / nextcloud/notes-ios
Nextcloud Notes iOS - Code Block
Open
Nobody has claimed this yet.
bug
- Dominant language
- Swift
- Stars
- 73
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Even though I add triple backticks (```) for creating a code block on Notes iOS, it does not respect it. Adding # for comments on code inside the code block, Notes iOS displays it as Heading.
I've tried enabling and disabling Internal editor, no difference. It works fine on Nextcloud web.
Steps to reproduce
- Open a note on Nextcloud Notes iOS
- Type triple backticks (```) for creating a code block
- Type # for adding a comment on the code block
- The comment text becomes Header. It is normal behavior for Markdown when you type # but it’s not normal if you are into a code block.
Expected behaviour
The code block properties should be respected
iOS Version: 4.3.1
This is what happens on editor
This is what it shows on preview (and this is the correct way to display it on editor, too)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.