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

How to add markdown.defaultRules.paragraph? #41

Open
dliebner opened this issue Jan 31, 2023 · 2 comments
Open

How to add markdown.defaultRules.paragraph? #41

dliebner opened this issue Jan 31, 2023 · 2 comments

Comments

@dliebner
Copy link

I've tried adding:

paragraph: markdown.defaultRules.paragraph,

to the list of rules, but it doesn't seem to be doing anything, despite a lot of tinkering. I've been able to add other rules in from markdown.defaultRules, but not this one. Any idea how to get it working?

@dliebner
Copy link
Author

dliebner commented Feb 1, 2023

It seems to be related to setting the default state with inline: true. Any idea what the motivation or rationale was for that? Any reason why I shouldn't change that to false? It seems like it might be important since it's also configured that way in the parser export.

@brussell98
Copy link
Owner

Discord itself uses inline parsing, so paragraphs don't work. Without inline you'd need two lines for a break.

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

No branches or pull requests

2 participants