-
Notifications
You must be signed in to change notification settings - Fork 621
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
Blockquote Issues #55
Comments
Regarding Issue 3: what do you mean by
? In Github, the quotes are not rendered as quotes. And Vimwiki has no conversion from Markdown to HTML. Apart from that, your points are valid and I agree that we need a dedicated syntax element for quotes (and then, of course, fix the current behavior).
Pandoc markdown requires that there is one empty line above a blockquote in order to avoid confusion with text where a line accidentially starts with a |
Regarding issue #3, I think I see the misunderstanding. I had used the Dillinger editor located at http://dillinger.io/ to perform my tests for this. This editor seems to work differently for this case than the GitHub editor does. Even though the Dillinger editor claims to be in GitHub mode. If the newline is required like in Pandoc, how will you know whether the blockquote is contained in a list or breaking the list. It seems like the newline is significant for other reasons and then you might need to double up newlines to express certain things. The syntax I'm seeing here: http://daringfireball.net/projects/markdown/syntax#blockquote seems to do just about everything that I would need, but I'm not sure if you would want to support the optional things (such as your example). |
Every element that is more indented than the list item above it is inside the list, everything else breaks the list.
Pro: the user is forced to format the text so that it looks good in ASCII version as well as in HTML. Cons: it's yet another variant in the already chaotic world of markup languages the user has to be aware of. |
I see your points, and I'm not sure which is better. My knee-jerk reaction would be to aim at the variant of Markdown defined at daringfireball. Perhaps I would add the '>' on every line variant first and eventually add the option to be able to add the '>' on only the first line. Although that second option bothers me as a developer as I don't like what I'm imagining the grammar would be to express such an option. It doesn't seem tidy to me. For myself (as a user), I don't need the additional line stuff. I keep blockquotes on one line in vimwiki and turn on |
…imwiki#55) - Issue 5 indented multiline Transoform blockquotes by precode ``` <blockquote> Block quote line 1 Block quote line 2 </blockquote> ``` -> ``` <pre><code>line 1 line 2 </code></pre> ``` - Issue 2: BlockQuote restarts list numbering Allow indent precode in list
…imwiki#55) - Issue 5 indented multiline Transoform blockquotes by precode ``` <blockquote> Block quote line 1 Block quote line 2 </blockquote> ``` -> ``` <pre><code>line 1 line 2 </code></pre> ``` - Issue 2: BlockQuote restarts list numbering Allow indent precode in list
Fixed by last commit: (issue 2 and 5)
This issue is very old. To be clear, 3 and 4 remains some enhancement possibility but I doubt someone will take the time to code them in vim. Otherwise, please open a PR. |
…imwiki#55) - Issue 5 indented multiline Transoform blockquotes by precode ``` <blockquote> Block quote line 1 Block quote line 2 </blockquote> ``` -> ``` <pre><code>line 1 line 2 </code></pre> ``` - Issue 2: BlockQuote restarts list numbering Allow indent precode in list
I only just noticed this, but the change in dc63a5d breaks blockquote handling for the documented 4-space indent entirely:
A It looks like blockquote rendering in general is pretty broken at the moment. As far as I can tell from testing, nothing matches the documentation and multi-line quotes don't seem to work at all. I'll try to write up a separate issue describing the situation. |
Nevermind - I see this is already captured in #1007. |
…imwiki#55) - Issue 5 indented multiline Transoform blockquotes by precode ``` <blockquote> Block quote line 1 Block quote line 2 </blockquote> ``` -> ``` <pre><code>line 1 line 2 </code></pre> ``` - Issue 2: BlockQuote restarts list numbering Allow indent precode in list
Issue 1: No blockquote without newline
Code
Result
The documentation for 2.1 claims:
Text started with 4 or more spaces is a blockquote
This doesn't seem true in this case. Perhaps this is merely a documentation bug. However, the newline is awkward anyway, so it would be nice if this would work
Issue 2: BlockQuote restarts list numbering
Code
Result
Item 3 should be number 3, but it shows up as number 1
Issue 3: BlockQuote at multiple list levels
GitHub style markdown allows for the following:
Quote 1 and quote 2 show up at different levels. I cannot seem to achieve the same with vimwiki markdown
Issue 4: No nested BlockQuotes
In GitHub style markdown this is achievable like this:
It seems like this is a deficiency with not having a delimiting character dedicated to block quotes.
Issue 5: Newlines in blockquotes are not honored
This all shows up on one line.
Note: The desired result is achievable with:
PS Thank you for vimwiki. It is a fantastic tool.
The text was updated successfully, but these errors were encountered: