Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MarkDown]: nested quotes highlighted incorrectly #2532

Open
4 tasks done
PetbkA opened this issue Feb 19, 2025 · 2 comments
Open
4 tasks done

[MarkDown]: nested quotes highlighted incorrectly #2532

PetbkA opened this issue Feb 19, 2025 · 2 comments

Comments

@PetbkA
Copy link

PetbkA commented Feb 19, 2025

⚠️ This issue respects the following points: ⚠️

  • This is a bug. Not a question or feature request.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

Description

Nested quotes should be rendered the same way despite the indentation, but they aren't:

  1. Quote indented with tab doesn't get syntax highlighting;
  2. Quote indented with spaces gets monospace highlighting.

The same text is OK in GitHub, for instance

Steps to reproduce

  1. Open MarkDown file in edit mode or QuickNote tab;
  2. Paste the following text:
    1. Item1
    	> Quote indented with tab
    	
    2. Item 2
        > Quote indented with spaces
        
    > Quote
    

Information

Android version: 13 (crDroid 9.14)
Device: Xiaomi Redmi Note 12 Turbo 12/512
App Version:

  1. Markor: 2.14.0
  2. Marder: 2.14.0-1820

Source

GitHub Releases

Format / File type

Markdown

Additional info / Log

-
@PetbkA PetbkA changed the title [MarkDown]: nested quotes are being highlighted incorrect [MarkDown]: nested quotes highlighted incorrectly Feb 19, 2025
@gsantner
Copy link
Owner

gsantner commented Feb 19, 2025

Do you ask really about Render or syntax highlight?

@PetbkA
Copy link
Author

PetbkA commented Feb 19, 2025

Do you ask really about Render or syntax highlight?

Don't know which is better. Considering that "syntax highlighting" is more about fenced code blocks, "rendering" would be better.

Hope that my screenshots are giving clear explanation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants