fix(markdown): fix single-formatted headings & list items (#1820)

* fix(markdown): fix formatting & inline edge cases (show behavior before change)

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>

* add change and updated test data

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>

* update lock

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>

* improve test case

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>

---------

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
This commit is contained in:
Panos Vagenas
2025-06-25 13:05:06 +02:00
committed by GitHub
parent 41e8cae26b
commit 7c5614a37a
67 changed files with 2648 additions and 2351 deletions

View File

@@ -11,8 +11,13 @@ Create your feature branch: `git checkout -b feature/AmazingFeature`.
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
6. **Whole list item has same formatting**
7. List item has *mixed or partial* formatting
## *Second* section <!-- inline groups in headings not yet supported by serializers -->
# *Whole heading is italic*
- **First**: Lorem ipsum.
- **Second**: Dolor `sit` amet.
Some *`formatted_code`*
## *Partially formatted* heading to_escape `not_to_escape`
[$$E=mc^2$$](https://en.wikipedia.org/wiki/Albert_Einstein)