-
Notifications
You must be signed in to change notification settings - Fork 4
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
Markdown marked as code is rendered #54
Comments
Additionally, even non-Markdown URLs get rendered as Markdown. Example with the same config as above:
|
For my clarity, please clarify: From what I understood from #37 Now, what I've missed is if the Am I correct? |
Only if it is a Markdown file. It doesn't make sense to render non-Markdown files.
Yes.
Yes. |
Fixed in #55 |
Follow-up to #53 and #42
In LocalSettings, set:
$wgExternalContentRenderMarkdownByDefault = true;
(or remove the line to use the default true).
Use this wikitext in a page:
{{#embed:https://github.com/ProfessionalWiki/ExternalContent|lang=md}}
The Markdown is now rendered, but it should be in a code block:
The text was updated successfully, but these errors were encountered: