-
Notifications
You must be signed in to change notification settings - Fork 32
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
modifies smart_lists #21
base: develop
Are you sure you want to change the base?
Conversation
adds non-lists patterns: block quotes (>); line block (|); title block (%); marker of ordered list may be enclosed in parentheses or followed by a single right-parentheses; list item may contain multiple paragraphs (i.e. empty list bullet is converted to whitespaces)
ST does it by default, so SM should too
There's a related issue with the If I write a The only thing I've thought of is interpreting Enter on two consecutive blank
Pressing Enter at the caret's location (indicated by the All this sound good (to me) in theory. In practice, it may turn out to be cumbersome. And I'm not sure how convoluted it is to implement. What do you think? |
if current line and previous one are empty (viz. [%>|]\s), enter erases content of those lines; cursor remains on the same line
fixed |
Cool! It feels a little strange, but I don't see any problems with how it works :) I'm guessing you liked this as an idea? |
Yes, more than two empty blockquote lines makes no sence for pandoc (it ignores these like there is only one empty line, assume others does the same). Anyway, behaviour you suggested really does make sence if user understand what gonna happen after converting markdown to html or other format. |
I've forget to mention that I used this patch in sublime-rst-completion . Thanks |
adds non-lists patterns:
marker of ordered list may be enclosed in parentheses or followed by a single right-parentheses;
(optionally) list item may contain multiple paragraphs (i.e. empty list bullet is converted to whitespaces)
non-list pattern breaks after triple press enter, e.g.:
become:
> This is a block quote.