-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
strikethrough - mdash rendering inconsistency #12
Comments
Hmm I'd forgotten about this, but, yes, it's a bit of a mess, and something needs to be done. I note that Wiki Creole doesn't support strikethrough, and so can't guide us. Given that strikethrough is fairly rare in normal written text, I wonder about:
I'm increasingly of the opinion that we need to be ready to make breaking changes to the wikisyntax. I hope to make TW5 at least 100 times more popular than classic TW, and so don't want to saddle the new users with too much archaic crankiness. TW5's plugin mechanism means that it will remain possible for people to customise things back to the classic behaviour if they need to. |
Since it is same as in TeX and scientific writes may be familiar with it, I think it would be a choice.
Yup, there are several syntax issues, that I would want to have improved. Most are even non breaking, but fallback related. (I could post a feature request here?) Especially measures should be taken, to enable |
It'll probably be a few weeks before I work on the wikitext parser, so it's a good time to discuss changes |
I did post some thoughts at my tiddlyspace [1], because refining it there is easier. |
Thanks Mario. The new paragraph handling will use double line breaks to signify paragraph breaks, and single line breaks will be just treated as whitespace. This will mean that macros on consecutive lines will not have line breaks inserted between them. As you note, this will make raw wikitext much more readable. One other changes planned for the wikifier are to accept HTML tags, which is why it makes sense for the templates to be wikitext; one will just be able to write HTML in there. In terms of the clash between Cheers jeremy |
For me The new markers can't be used eg: inside a javascript tiddler, because it will cause a syntax error. The new marker can only be used for exactly one behavior inside TW text tiddler. The "extended vanilla" markers could be used in plain text tiddlers and in "evaluated" tiddlers, without breaking there syntax. |
I think the syntax for typed blocks needs to be quite obtrusive; it's a big conceptual shift to move to a different form of markup. I selected In terms of using these markers inside a JavaScript tiddler, don't forget that now JavaScript tiddlers are parsed and pretty printed as syntax coloured JavaScript. Wikitext is currently used for JavaScript comments, and it's OK to use the |
OK. Seeing
Right. But as soon, as the TW5 API has stabilized, I want to have pretty editing for every language used with TW [1][3]. The benefit of the new js parser is, that it can do realtime parsing, to point out syntax errors. I'd love to have this feature. I still think, that extending the existing block syntax would make sense. I'll add my reasoning in a new post here. [1] http://codemirror.net/mode/tiddlywiki/index.html |
Hi Jeremy,
I did get an email today in reply to an old TW group post [1] about disabling the strikethrough rendering.
I thought it would be worth a ticket for TW5, because imo it is a problem, from a writers point of view.
Using:
text -- test
seems to be wrong [2] too because a the spaces. So may be the "Compose Key" like notation, mentioned at Wikipedia [3] would be an option.It shouldn't interfer with existing rules and or plugins. At least I don't know any :)
or changing the strikethrough behaviour a bit. eg:
space--space
... start/end of strikeand
text--test
... emdash-m
[1] http://groups.google.com/group/tiddlywiki/msg/61930389d6c6b170
[2] http://www.grammarbook.com/punctuation/dashes.asp
[3] http://en.wikipedia.org/wiki/Emdash#Em_dash
The text was updated successfully, but these errors were encountered: