Well, you know what would be next level for a dev? If (s)he clicks on it, the color is copied to the clipboard. We can't use this behavior, because behaviors loose their state in the remarkup cache...
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Thu, Apr 11
Tue, Apr 2
Mon, Apr 1
This should be ready to merge now, if someone wouldn't mind reviewing it.
Mar 26 2024
Mar 25 2024
Mar 19 2024
Mar 15 2024
(I've put a note in Dependencies for now)
Updated Pygments with pip to 2.17.2 und cut the time in half. So yeah, that's already an improvement.
I guess we could also try to cache the individual rendered code-blocks.
Well, good to know that it is not something in the phorge codebase. Our server has pygmentize 2.14.0 - but the server itself is really not the best, so that could be an explanation. Maybe we could make some remarks about performance and keeping the versions fresh on the diviner page...
Mar 14 2024
Update: I've installed pygments (2.15.1), and it took about 3 seconds to render. It takes about 14 seconds here (with pygments 2.3.1).
mm, dumping this file in my dev env renders pretty much immediately; that's a good sign that it's the code blocks, because (1) pygments is known to be slow and (2) I don't have it installed.
I'm quite sure the problem is limited on repeated code blocks.
"slow remarkup" often boils down to 1-2 inefficient regexp in a rule somewhere.
Can reproduce
Mar 9 2024
Feb 29 2024
Added documentation in D25547: Diviner: Improve documentation for remarkup code blocks
Yeah enjoy this feature! Already part of our glorious 2023 Week 32
Hahah I guess I could have tested it first.
I think we already did - @valerio.bozzolan ?
Feb 28 2024
Gotcha. Probably this is generating the attachment transactions but should be "ignored on no effects":
This feature is not complete also for Conpherence AFAIK
Feb 27 2024
In T15743#15855, @valerio.bozzolan wrote:
- https://github.com/xemlock/php-latex (PHP server side)
Feb 26 2024
Interestingly, I just discovered Wikimedia has a pretty cool project to render math on the server side, by transpiling some js into php:
There is also MathJax, a subset of LaTex that only covers the mathematical notation without the page layout functionality.
Feb 25 2024
I see that it depends on a NodeJS external script (server-side).
This would be useful for discussions about design, specifically I wished for this feature while reviewing D25491: Improve contrast of Links in Dark Mode
Feb 7 2024
Jan 31 2024
Jan 28 2024
Jan 22 2024
Jan 19 2024
Values given in em units may produce unexpected results...
Jan 18 2024
Jan 17 2024
If it's only for a small number of such words, they should probably just be added to the blacklist remarkup.ignored-object-names - in fact, we should probably add S3 at least as a default; And probably find a way to expose this config option. Maybe a button on the Remarkup box that will help adding things to the blacklist?
Jan 16 2024
In T15712#15124, @avivey wrote:Is the motivation only to allow not-magicking things like "S3" and "F1", or is there more?
Looks like the tickets end in a Wontfix in https://secure.phabricator.com/T5301; I didn't follow the whole thing, but often the reasoning in Remarkup boils down to performance.
mm, see this one: https://secure.phabricator.com/T5301#211340
Is the motivation only to allow not-magicking things like "S3" and "F1", or is there more?
Dec 14 2023
Since I can, thanks to that revision, at work I've put this additional CSS rule for extra nonsense scary climax.
Nov 14 2023
Nov 10 2023
Oct 25 2023
I had communicated these upstream (almost exactly a year ago~) and some helpful information was provided
Sep 22 2023
Note: the <ins> tag is typically rendered as underlined text, so this would be very similar to the <u> formatting that is produced with __foobar__ → foobar. In fact, it might be worth repurposing that rule to produce <ins> instead, since ~~foobar~~ actually creates a semantic <del> tag rather than the presentational equivalent <s> (strikethrough) tag.
Ugh. I added this to the UX project but forgot to remove the test content from the comment box, so my changes ended up coupled with a comment that said "- List Item". I tried to delete the comment but now it looks weird like some sort of redacted content :( anway, though I'd leave the note here in case anyone is confused with the deleted comment.
Sep 6 2023
While it could be nice to have this, in the meanwhile I think that having something minimal like D25434 would be nice
Aug 6 2023
- Automatically continued bulleted list upon new line
Aug 1 2023
Should this be documented here? I think yes
Jul 8 2023
Jul 4 2023
Jul 3 2023
Jun 28 2023
Jun 27 2023
Workaround 😎
(The file F315310 is not public)
Jun 26 2023
Interestingly, it works ._.
Jun 25 2023
Interestingly, Remarkup allowed too many things, so this Task cannot be 99.99999% safe.
Jun 24 2023
Jun 23 2023
Please describe the thing using 3 backticks like in this comment (see raw remarkup)
Jun 20 2023
I think the current revision is a good compromise. The current behavior makes no sense from the perspective of modern UX patterns:
Jun 19 2023
In T15161#4416, @avivey wrote:I agree with this, but I think we should let this wait for broader discussion - there maybe good counter-arguments.
Jun 15 2023
May 29 2023
Another use case: Drag & Drop on a new Object description, even if the Object is not already created, should attach by default to it.
May 27 2023
I think a more generic solution here is "Make the Remarkup Help Page Extensible", so that Remarkup rules can add their own sections (Possibly under the Guides application, if it still exists?)