Skip to content

Markdown support with code formatting#20

Open
kakasuarez wants to merge 4 commits intoykdojo:masterfrom
kakasuarez:markdown_support_with_code_formatting
Open

Markdown support with code formatting#20
kakasuarez wants to merge 4 commits intoykdojo:masterfrom
kakasuarez:markdown_support_with_code_formatting

Conversation

@kakasuarez
Copy link
Copy Markdown

@kakasuarez kakasuarez commented Jul 14, 2020

Added code highlighting and markdown support to the question body and answers.

code_formatting

However, normal links inside the body will not work now. Instead they will have to be added in markdown syntax.

links
links2

This requires the Python-Markdown package.

The language should be added when starting the code block. Like this: ```python
print("hello")
```

@kakasuarez kakasuarez mentioned this pull request Jul 15, 2020
@kakasuarez
Copy link
Copy Markdown
Author

I realized, it may not be the best idea to load the markdown_styles.css file in the base.html file. Maybe it should be added only to the specific pages where code formatting is required.

@ghost
Copy link
Copy Markdown

ghost commented Dec 8, 2020

Hey 👋🏼 , Nice work you did there. Have you contacted yk about this pull request if not then you can do it through the Discord server. Join here

@kakasuarez
Copy link
Copy Markdown
Author

Hey! Thanks, but I was a little worried about the security. Also, I did contact YK on the discord server when I created this pull request. He said he would look into it.

@ghost
Copy link
Copy Markdown

ghost commented Dec 8, 2020

oh okay, I have asked YK to review the Pull Request. so he might review it when he is free 🙂 . Nice work by the way 👍🏼

@ykdojo
Copy link
Copy Markdown
Owner

ykdojo commented Dec 11, 2020

Hi! Sorry about the delay again. I'm actually trying to figure out a way to spend more time on this project although I'm not sure if I'll be able to... I'll keep you updated, anyway.

@ghost
Copy link
Copy Markdown

ghost commented Dec 11, 2020

Hi! Sorry about the delay again. I'm actually trying to figure out a way to spend more time on this project although I'm not sure if I'll be able to... I'll keep you updated, anyway.

@ykdojo No problem, take your time 😄

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.

2 participants