kovetskiy / mark

Sync your markdown files with Confluence pages.
https://samizdat.dev
Apache License 2.0
994 stars 149 forks source link

Line breaks are not working at all #480

Closed trkas closed 1 month ago

trkas commented 1 month ago

What happened?

Line breaks are not working at all

What did you expect to happen?

I have a README.md file containing:

:box:warning:Do not maintain in Confluence:This document should only be maintained through the README.md file in the ng-template-standard-app project:

Creating a new app from template

Template for a ASPECT4 Standard NextGen app with the standard layout

This template project is for creating standard apps.

It's based on a Next.js project bootstrapped with create-next-app.

After uploading to confluence with v10.0.0, it doesn't show the confluence page correctly. the 3 lines are just showing as 1 line.

How can we reproduce the behavior you experienced?

Steps to reproduce the behavior:

just run the content described above and run it with mark v10.0.0.

I am using a Github workflow:

docker run --rm -v $(pwd):/tmp -i kovetskiy/mark:latest mark -p ${{ secrets.A4_CONFLUENCE_PAT }} -b https://confluence.eg.dk --h1_title --h1_drop -f /tmp/$file || true

if i use v9.13.1, it works:

docker run --rm -v $(pwd):/tmp -i kovetskiy/mark:9.13.1 mark -p ${{ secrets.A4_CONFLUENCE_PAT }} -b https://confluence.eg.dk --h1_title --h1_drop -f /tmp/$file || true

Further Information (please complete the following information)

mrueg commented 1 month ago

I had removed paragraph support in v10 because it would work better with macros. We'll need to find a way to support both.

mrueg commented 1 month ago

Please test with 10.0.1