Skip to content

Multiple Markdown/LaTeX formatting bugs and renderer quirks #245

Closed

Description

@jeshmate8

This is a tracking issue for formatting bugs and surprising renderer behaviours found while working with markdownviewer.pages.dev.

Each issue mentioned can be found here which shows the expected vs. actual behaviour.

The issues:

  • Headings & anchors: duplicate heading IDs aren't de-duplicated (1).
  • Lists: mixed bullet markers don't start a new list (2).
  • Currency/dollar-sign parsing: unrelated $ on same line (3); balckslahed $ turning into $ inside a code block (4).
  • Footnotes & definition lists: footnote syntax leaking out of code (5); multi-term definitions not recognized (6).
  • LaTeX/MathJax: superscript ^ leaking into same line text (7); escaped underscore not showing (8); broken \left\{/\right\} delimiters (9, 11); \color bleeding onto unbraced content (10).

Activity

  1. ThisIs-Developer commented on Aug 24, 2026

    @ThisIs-Developer
    Owner

    Thank you for reporting this issue and for identifying these important Markdown and LaTeX rendering problems in Markdown Viewer.

    I’m looking into these issues and will keep you updated as I investigate and work on the fixes.

    Also, thank you for sharing all the detailed examples through Share Snapshot. Having the expected and actual behavior together made the issues much easier to understand and reproduce.

    Really appreciate you taking the time to document everything so clearly!

  2. changed the title [-]Multiple Markdown/LaTeX formatting bugs and renderer quirks in Markdown Viewer[/-] [+]Multiple Markdown/LaTeX formatting bugs and renderer quirks[/+] on Aug 24, 2026
  3. jeshmate8 commented on Aug 24, 2026

    @jeshmate8
    Author

    Thank you for reporting this issue and for identifying these important Markdown and LaTeX rendering problems in Markdown Viewer.

    I’m looking into these issues and will keep you updated as I investigate and work on the fixes.

    Also, thank you for sharing all the detailed examples through Share Snapshot. Having the expected and actual behavior together made the issues much easier to understand and reproduce.

    Really appreciate you taking the time to document everything so clearly!

    Thanks for looking into these, and I'm happy to help.

    I really love the viewer, and I hope these issues can get resolved.

  4. added
    bugSomething is broken or not working as expected.
    on Aug 24, 2026
  5. ThisIs-Developer commented on Aug 24, 2026

    @ThisIs-Developer
    Owner

    @jeshmate8 Hi, I’ve fixed the mentioned issues. Could you please check the updated version using this link?

    https://fix-issue-245-formatting-pip.markdownviewer.pages.dev/#id=asnybya2w4&edit=1

    Please let me know if you notice anything else.

  6. jeshmate8 commented on Aug 24, 2026

    @jeshmate8
    Author

    @jeshmate8 Hi, I’ve fixed the mentioned issues. Could you please check the updated version using this link?

    https://fix-issue-245-formatting-pip.markdownviewer.pages.dev/#id=asnybya2w4&edit=1

    Please let me know if you notice anything else.

    Thanks for the quick fix. I checked the updated version, and everything looks fixed except for these 2 things:

    Issue 2 still doesn't appear to be fixed. Changing the marker should start a new list, but - and * are still merged into one list. See screenshot for the expected behaviour here.

    For Issue 3, I'm not sure what logic is currently being used to distinguish plain $ from math $...$, but I think requiring \$ for literal dollar signs could make this more predictable, as I think your current logic uses commas to detect the difference, see example below:

    We spent \$20 which caused \$45 of loss and \$99.
    

    Other than these 2, everything looks great. Thanks again.

  7. added a commit that references this issue on Aug 27, 2026
  8. ThisIs-Developer commented on Aug 27, 2026

    @ThisIs-Developer
    Owner

    Hi @jeshmate8, thank you for the clarification.

    I’ve resolved all the known issues reported here, and the fix PR has now been merged into main.

    I used this shared Markdown file to verify the fixes:
    https://markdownviewer.pages.dev/#id=4ajvbmmgc5&edit=1

    If you find any new issues, please let me know or feel free to create a new issue.

    Thank you again for pointing out all these problems and helping make Markdown Viewer better.

    Happy coding! 🚀

  9. jeshmate8 commented on Aug 27, 2026

    @jeshmate8
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or not working as expected.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions