-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Space in code (```) a wrong #1045
Labels
Comments
This is unclear. I think we should update the issue template to make sure people post actual examples of input, output and expected texts. That way we could easily overcome language barriers too. |
Okay, tomorrow I will write better example |
joshbruce
added
L2 - annoying
Similar to L1 - broken but there is a known workaround available for the issue
category: code blocks
and removed
question
labels
Feb 10, 2018
I cannot reproduce this: $ bin/marked
function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
}
}
<pre><code>function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
}
}
</code></pre> You're most probably altering either the input or the ouput before/after calling |
joshbruce
removed
the
L2 - annoying
Similar to L1 - broken but there is a known workaround available for the issue
label
Feb 11, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expectation
Space and tabs show as I wrote
Result
every two space replace with new line
What was attempted
I try extends
renderer.code = (code, language) => {
debugger // code variable already with wrong space
return
<pre><code class="lang-${language}">${code}</code></pre>
}
I try use Reveal.js via npm (and React).
And highlight.js
The text was updated successfully, but these errors were encountered: