-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Suggested syntax for {|underline|}, {!strikeout!} and {.small caps.} #10
Comments
Note that djot already has syntax for:
As for smallcaps... I'm seeing three kinds of span syntax in djot:
So, some alternatives for a smallcaps syntax that might work with djot:
I kinda' like Maybe another punctuation character:
I think the comma looks good --- maybe even better than the dot; if you squint, the comma looks a little like a very tiny arrow pointing down, which is very nice for small caps. 😃 |
Only the first form works to apply formatting to an arbitrary sequence of inline elements. The second and third form operate on plain unformatted text. For other characters, think
|
Hm. My 2 cents:
That leaves the comma and the semicolon. |
Maybe:
Problem is that none of these are at all suggestive of what they mean. One option could be to require the |
|
@jgm what's wrong with |
BTW I'm fine with commas for small caps. I just took the dots from my old Perl script which I mentioned on pandoc-discuss, not realizing at the moment that it might clash with classes in attributes. As I mentioned I used to use |
The main reason |
True! Maybe that's not so bad. So, maybe the best idea would be |
@jgm , are you suggesting replacing:
I think that Underline markup is not used very often. If I needed it, and if it weren't Since bold is used much less often than italic, if I were starting from scratch, I'd consider:
and keep the others as they are ( |
@uvtc I can't answer for @jgm but my thought is not to replace anything, but rather that Footnotes
|
For discussion about |
Yes, that's my thinking. Semantically, "inserted" and "deleted" are different from "underline" and "strikethrough," even if that's how browsers render them typically. |
In that case, then those look to me like pretty good uses of The It seems like a nice feature of djot that it may contain not only ways to mark insert and delete (for providing feedback to someone on proposed changes), as well as explicit underline and strikethrough. I don't know of another light markup format that provides that. And it also leaves (at the least) BTW, I really like djot's simplicity of using the curlies to disambiguate syntax when necessary. |
See also #13 for discussion about underline and strike-through (including an alternative syntax proposal for them). |
@waldyrious what do you mean about #13? I see nothing there which is relevant to this, or in the spirit of djot; djot specifically rejects doubled delimiter characters, IMO for good reasons. |
Indeed, I was careless with my comment there and the reference to the thread here — my apologies. I have now added a (hopefully) more considered comment to that thread. The relevance of both of my comments there to this issue lies in the syntax proposal for presentational tags, including those discussed here, namely underline and strikeout. |
I was reading the cheatsheet, and I noticed that
|
In the announcement thread on pandoc-discuss I suggested to add these syntaxes:
@jgm asked me to open an issue here.
I would very much appreciate to have a syntax for small caps in particular.
The text was updated successfully, but these errors were encountered: