FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix #712: Preserve leading whitespace for nested bullet indentation in Markdown conversion by bonassifabio · Pull Request #754 · rendercv/rendercv · GitHub

Fix #712: Preserve leading whitespace for nested bullet indentation in Markdown conversion - #754

Open
bonassifabio wants to merge 1 commit into
rendercv:mainfrom
bonassifabio:main
Open

Fix #712: Preserve leading whitespace for nested bullet indentation in Markdown conversion#754
bonassifabio wants to merge 1 commit into
rendercv:mainfrom
bonassifabio:main

Conversation

Copy link
Copy Markdown

This PR addresses #712 where nested bullet points with 4-space indents were incorrectly parsed.

Changes

  • Markdown Parsing: Updated markdown_to_typst in markdown_parser.py to capture and strip leading whitespace before passing the text to python-markdown, preserving the original identation.
  • Added a new unit test test_nested_bullet_indentation_preserved
  • Regenerated artifacts

… fix bullet indentation

* Explicitly captures leading whitespace and strips it before calling python-markdown.
* Prevents 4-space indents from being incorrectly parsed as code blocks during line-by-line processing.
* Preserves original nested bullet point indentation.
* Adds unit test 'test_nested_bullet_indentation_preserved'.

sycured commented Aug 4, 2026

Copy link
Copy Markdown

Any ETA for merge/release?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL