-
Notifications
You must be signed in to change notification settings - Fork 6
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
Is this project alive? and underlining wikitext code makes it unreadable #8
Comments
Hi @pmario. Could you provide a full snippet of wikitext? This would be inside a macro definition right? |
I think the underscore syntax highlighting should be removed. It does not make sense anyway. Underlining text makes it much harder to read. |
Open any tiddler source code and start to write As I wrote. From my point of view the whole "underline" formatting should be completely removed. It's only a burden. |
I would like to get a better understanding of the visual-noise you are getting. The underlining function here is the same one that handles http/https links, so we should be able to scope it down to not trigger when in "variable name" contexts. |
Have a closer look at: https://github.com/Jermolene/TiddlyWiki5/blob/9cace159ab47e5c29fc7f1f6f44851edd5d7b07f/core/wiki/macros/toc.tid#L264 I initially wanted to create local variables, functions or procedures like so |
Cool. The current syntax scopes all the names in:
as:
And does not underline that. I can only trigger an unterminated underline if I open it |
Hi @joshuafontany,
Do you still update this project? -- Do you accept PRs?
With TW v5.3.x we do have a lot of new syntax. Do you plan to implement it?
There is also one thing, that really is annoying for me personally. In TW wikitext if I define local variables with a double-underscore prefix, like this
__localVar
it starts to underline the whole code. Which in turn makes the code unreadable. Could the "underline" handling be disabled somehowmThe text was updated successfully, but these errors were encountered: