Vitaly
June 27, 2017, 7:42pm
#22
I understand :(. Sometime we should do horrible things, because users are not going to change their habits.
Then try patched paragraph rule (which stores info about trimmed head), as discussed on github. The only disadvantage is - it may be changed in upstream on CM spec update. But you can add test to signal about such change.
3 Likes
Sean_R
(Republic Wireless)
June 27, 2017, 8:43pm
#24
I wish it showed properly in the preview so I do not have to post this as a topic.
1 Like
sam
(Sam Saffron)
June 27, 2017, 8:52pm
#25
That is a bug, we will get it fixed!
8 Likes
sam
(Sam Saffron)
June 27, 2017, 9:02pm
#26
The oneboxing issue is fixed:
https://github.com/discourse/discourse/commit/0d62420cbe443b2cf1061405f83f34eef5103532
https://github.com/discourse/discourse/commit/0d62420cbe443b2cf1061405f83f34eef5103532
https://github.com/discourse/discourse/commit/0d62420cbe443b2cf1061405f83f34eef5103532
I did want to take a few moments to say to @Vitaly , it is absolutely amazing one can replace core behavior of the new engine in a very tidy and maintainable way without needing to fork the project. I am able to achieve in minutes stuff that used to take me hours when working with the previous Markdown engines.
The pipeline, date flow and token stream make for an amazingly clear design that is understandable by humans. Thank you.
14 Likes
sam
(Sam Saffron)
June 27, 2017, 9:14pm
#27
I enabled the typographer here (with the site setting enable_markdown_typographer
)
This means that:
(c) (C) (r) (R) (tm) (TM) (p) (P) +-
test.. test... test..... test?..... test!....
!!!!!! ???? ,, -- ---
"Smartypants, double quotes" and 'single quotes'
renders as:
© © ® ® ™ ™ § § ±
test… test… test… test?.. test!..
!!! ??? , – —
“Smartypants, double quotes” and ‘single quotes’
I do not think we will enable it by default, but some communities have expressed interest in it so … here you go…
13 Likes
sam
(Sam Saffron)
June 27, 2017, 9:28pm
#28
4 Likes
tophee
(Christoph)
June 27, 2017, 10:07pm
#29
sam:
test?.. test!..
Shouldn’t those render as test?.. and test!.. (i.e. three dots rather than two)?
sam
(Sam Saffron)
June 27, 2017, 10:15pm
#30
Strongly depends on which color you like your bike shed
8 Likes
david
(David Taylor)
June 27, 2017, 10:15pm
#31
I guess the idea is that there are indeed three dots, but one of them is part of the question mark (or exclamation mark)
?.. !..
4 Likes
tophee
(Christoph)
June 27, 2017, 10:25pm
#32
Not quite. Typographically, three dots are an ellipsis and and ellipsis is always three dots. There is no two to ellipsis and I am not aware of any style guide that suggests that the question mark or exclamation mark can replace one of the dots. By contrast, there are plenty of recommendations that suggest the use of a punctuation mark plus three dots (and, while we’re at it: to separate them from the punctuation mark with a space):
؋ ₳
฿ ₿
₵ ¢ ₡ ₢
$ ₫ ₯ ֏
₠ €
ƒ ₣
₲
₴
₭
₺ ₾
₼ ℳ ₥
₦
₧ ₱ ₰ £
元 圆 圓 ﷼ ៛ ₽ ₹ ₨
₪
৳ ₸ ₮
₩
¥ 円
An ellipsis (plural ellipses; from the Ancient Greek: ἔλλειψις, élleipsis, 'omission' or 'falling short') is a series of dots (typically three, such as "…") that usually indicates an intentional omission of a word, sentence, or whole section from a text without altering its original meaning.
Opinions differ as to how to render ellipses in printed mater...
1 Like
sam
(Sam Saffron)
June 27, 2017, 10:35pm
#33
I suggest you open this on the markdown it Github issues page cause we are simply consuming the functionality
6 Likes
tophee
(Christoph)
June 28, 2017, 8:47am
#35
I did. They are using Russian typography and they’re basically sending the ball back to you by answering:
you can disable replacer and add your own if you don’t like existing one.
https://github.com/markdown-it/markdown-it/issues/376#issuecomment-311588034
We do not care about this specific issue and will not be working on it.
1 Like
The hide details feature doesn’t work properly on meta:
Summary
This text will be hidden
Winsomniak:
Woo markdown tables!
Now we just need a nifty composer option to insert a table and we’ll be golden.
david
(David Taylor)
June 28, 2017, 11:23am
#39
You need to write it
[details=Summary]
This text will be hidden
[/details]
Summary
This text will be hidden
1 Like
Makes sense. Then the composer options menu needs a tweak to fix how it inserts it.
7 Likes
sam
(Sam Saffron)
June 28, 2017, 3:46pm
#41
6 Likes