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

Insert triple backticks for 'code' button when multiple lines are selected. #311

Merged
merged 2 commits into from
Jun 24, 2021

Conversation

hammsvietro
Copy link
Contributor

@hammsvietro hammsvietro commented Jun 19, 2021

This fixes #308

It was also mentioned that the highlight should be updated.
But markdown usually treats them "`" and "```" differently.
should this be updated as well?

@hammsvietro hammsvietro changed the title Insert triple backticks for 'code' button when multiple lines are selected. Fixes #308 Insert triple backticks for 'code' button when multiple lines are selected. Jun 19, 2021
@dessalines
Copy link
Member

Just tested, and it looks great. Thx!

@dessalines dessalines merged commit b5e8778 into LemmyNet:main Jun 24, 2021
@hammsvietro
Copy link
Contributor Author

glad to help :)

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.

Markdown monospace/code format does not work properly with linebreaks
2 participants