Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong h3 indentation after bullet points #49

Closed
wischi-chr opened this issue Feb 10, 2018 · 4 comments
Closed

wrong h3 indentation after bullet points #49

wischi-chr opened this issue Feb 10, 2018 · 4 comments
Labels

Comments

@wischi-chr
Copy link

The following markdown is not rendered correctly

# Indentation Test

### Header 1
  - Bulletpoint 1
### Header 2 <---
  - Bulletpoint 2

On github it looks like this: https://gist.github.com/wischi-chr/dc48d7957e80fb4e2024f7f304489ced
correct_markdown

but it's rendered like that:

wrong_markdown

@simov simov added the compiler label Feb 10, 2018
@simov
Copy link
Owner

simov commented Feb 10, 2018

Thanks for the feedback! It's a compiler issue in both Marked and Remark. You can open up an issue there and I'll update the dependencies here once the problem is resolved.

Otherwise just add a space between the header and the list items and it will work.

@wischi-chr
Copy link
Author

wischi-chr commented Feb 11, 2018

I'm a bit lazy and on mobile right now so I copied the issue description to the compiler projects.

remarkjs/remark#325
markedjs/marked#1047

@joshbruce
Copy link

Response from Marked so far:

Believe this is related to new lines and possible regex - believe you would see the same behavior from the original Daring Fireball implementation as well. Can you try the following:

### Header 1

- Bulletpoint 1

### Header 2

- Bulletpoint 2

@simov
Copy link
Owner

simov commented Jul 8, 2018

@wischi-chr it seems to be fixed in the latest release of Remark. I've published it with v3.6 of the extension.

@simov simov closed this as completed Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants