Skip to content

After reopening, numbered headings like # 1. ... are parsed as an ordered list and break heading rendering #6474

@s1m4ne

Description

@s1m4ne
  • Searched existing issues to avoid creating duplicates.
  • Confirmed that it can be reproduced in built-in themes without customized css.
  • Searched http://support.typora.io/

Describe the bug

After saving and reopening a Markdown file, headings that start with numbering (e.g. # 1. Introduction) are no longer rendered as a proper heading. The 1. part seems to be parsed/treated like an ordered list marker, and the heading appearance breaks (see screenshots).
This does not happen while typing; it happens only after reopening the file in Typora.

To Reproduce

  1. Create a new Markdown file in Typora.
  2. Add a numbered heading, e.g.:
  • # 1. Introduction
    (Possibly also affects ## 1. ..., ### 1. ..., etc.)
  1. Save the file.
  2. Quit Typora.
  3. Reopen the saved file in Typora.

Expected behavior

The line should remain an H1 heading and render as an H1-sized title showing “1. Introduction” (without the 1. being treated as an ordered list marker).

Screenshots / Screencasts

Attached.

  • Screenshot 1: actual broken rendering after reopening
Image
  • Screenshot 2: expected rendering
Image

Sample Markdown File

Example content:

# 1. Introduction

(If needed, I can attach a minimal .md file that reproduces this.)

version

  • OS: macOS 26.1
  • Typora Version: 1.12.4

Additional context

  • The heading renders correctly immediately after typing.
  • The issue occurs only after saving + quitting + reopening the file.
  • Reproduces with “No Theme” and also with my “Default” theme; I’m unsure whether that “Default” theme is built-in or a custom theme file on my machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions