-
-
Notifications
You must be signed in to change notification settings - Fork 668
Changes to better match $(D ...) in Phobos and bug fix #4306
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
Conversation
|
Does this fix the |
|
No, that stays the same, and I think it should because the reason it gets bold is ddoc is seeing it as plain text. Code inside backticks is not interpreted as plain text anymore - it is minimally-highlighted code. There's a very important difference there: The way this works is that there's nothing magical about ddoc ALWAYS bolds the word Line 2096 of doc.c has the (which my first draft used and got keyword highlighting, but that wasn't universally liked) Makes: So, if you want |
src/doc.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks misaligned
|
OOps, a couple tabs slipped in there. Fixed. |
|
LGTM, if I might say so. Any reason not to merge it? |
|
LGTM |
|
Auto-merge toggled on |
|
Hooray! |
Changes to better match $(D ...) in Phobos and bug fix
The existing $(D) macro does PSYMBOL highlighting, so change the highlightCode call to match that. std.datetime also revealed another off-by-one bug with embedded html so the
i--takes care of that. Test amended with these cases.