Page MenuHomePhorge

RemarkupProject
ActivePublic

Recent Activity

Thu, May 2

valerio.bozzolan added a comment to T15643: Support marking text with <ins> in Remarkup.

To implement this, you may want to start from this 馃寛

Thu, May 2, 18:09Feature Requests, Remarkup
valerio.bozzolan added a comment to T15744: Render html color codes in remarkup.

Anyway, even with this fix, for some reasons I can't still use this feature with a comment like {#0000ff} in my local installation 馃 I'm confused since the unit test works.

Thu, May 2, 10:34Remarkup
zajdee added a comment to T15744: Render html color codes in remarkup.

@valerio.bozzolan yes, just now. I have only realized that there is a fix already after opening the ticket raised as a concern. Hadn't checked this in the past few days, so here I am, finally with my account approved and the issue is fixed. Thank you. :)

Thu, May 2, 08:56Remarkup
valerio.bozzolan added a comment to T15744: Render html color codes in remarkup.

@zajdee have you already tried to update to latest master? After 6ab2b56a1a4a6 I mean. Thanks for this confirmation

Thu, May 2, 08:54Remarkup
zajdee added a comment to T15744: Render html color codes in remarkup.

EDIT: This was already reported and resolved in T15802: Regression: HTML entities rendered as plain text in config option descriptions, I'm keeping the comment just to track this.

Thu, May 2, 08:51Remarkup

Tue, Apr 30

revi added a comment to T15744: Render html color codes in remarkup.

Or wrap a text with a background color - (something like What if I can change the background color here (and no italics)?)

Tue, Apr 30, 15:40Remarkup

Mon, Apr 29

valerio.bozzolan added a comment to T15744: Render html color codes in remarkup.

I'm somehow even more inclined to propose to base this feature on a new custom parser, like cowsay {{{ asd }}}

Mon, Apr 29, 13:52Remarkup
valerio.bozzolan added a comment to T15106: "Upload file" in remarkup text fields should attach by default .

Minor clarification.

Mon, Apr 29, 05:48Files, Remarkup

Apr 11 2024

avivey raised the priority of T15106: "Upload file" in remarkup text fields should attach by default from Normal to High.
Apr 11 2024, 10:41Files, Remarkup

Apr 2 2024

bekay added a comment to T15744: Render html color codes in remarkup.

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...

Apr 2 2024, 09:12Remarkup

Apr 1 2024

20after4 added a comment to T15744: Render html color codes in remarkup.

This D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes should be ready to merge now, if someone wouldn't mind reviewing it.

Apr 1 2024, 18:14Remarkup

Mar 26 2024

valerio.bozzolan closed T15729: Remarkup code blocks: guess the language from the "name" (if available) as Resolved by committing rPb1ae1b1a6789: Remarkup code blocks: guess language from "name=".
Mar 26 2024, 10:20User-valerio.bozzolan, Remarkup

Mar 25 2024

valerio.bozzolan claimed T15729: Remarkup code blocks: guess the language from the "name" (if available).
Mar 25 2024, 07:44User-valerio.bozzolan, Remarkup
valerio.bozzolan added a revision to T15729: Remarkup code blocks: guess the language from the "name" (if available): D25560: Remarkup code blocks: guess language from "name=".
Mar 25 2024, 07:42User-valerio.bozzolan, Remarkup

Mar 19 2024

valerio.bozzolan updated the task description for T15161: Internal resources should avoid to become external links, as default.
Mar 19 2024, 16:41User-valerio.bozzolan, Discussion Needed, Remarkup
valerio.bozzolan closed T15182: Simplify the way "internal links" are identified, a subtask of T15161: Internal resources should avoid to become external links, as default, as Resolved.
Mar 19 2024, 16:34User-valerio.bozzolan, Discussion Needed, Remarkup
valerio.bozzolan closed T15182: Simplify the way "internal links" are identified as Resolved by committing rP328aee033fbd: isSelfURI: fix anchors and relative URIs (that are "self" indeed).
Mar 19 2024, 16:34User-valerio.bozzolan, Remarkup

Mar 15 2024

avivey added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

(I've put a note in Dependencies for now)

Mar 15 2024, 18:23Remarkup
avivey renamed T15756: Rendering remarkup with many embedded code blocks is very slow from Parsing for a fairly reasonable sized remarkup text takes too long to Rendering remarkup with many embedded code blocks is very slow.
Mar 15 2024, 09:17Remarkup
bekay added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

Updated Pygments with pip to 2.17.2 und cut the time in half. So yeah, that's already an improvement.

Mar 15 2024, 09:08Remarkup
avivey added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

I guess we could also try to cache the individual rendered code-blocks.

Mar 15 2024, 09:08Remarkup
bekay added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

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 15 2024, 08:14Remarkup

Mar 14 2024

avivey added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

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).

Mar 14 2024, 17:46Remarkup
avivey added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

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.

Mar 14 2024, 17:38Remarkup
valerio.bozzolan added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

I'm quite sure the problem is limited on repeated code blocks.

Mar 14 2024, 17:03Remarkup
avivey added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

"slow remarkup" often boils down to 1-2 inefficient regexp in a rule somewhere.

Mar 14 2024, 16:47Remarkup
valerio.bozzolan triaged T15756: Rendering remarkup with many embedded code blocks is very slow as High priority.

Can reproduce

Mar 14 2024, 15:17Remarkup
bekay created T15756: Rendering remarkup with many embedded code blocks is very slow.
Mar 14 2024, 14:46Remarkup

Mar 9 2024

valerio.bozzolan added a revision to T15182: Simplify the way "internal links" are identified: D25555: isSelfURI: fix anchors and relative URIs (that are "self" indeed).
Mar 9 2024, 22:30User-valerio.bozzolan, Remarkup

Feb 29 2024

20after4 added a comment to T15747: Support short language specifier in code blocks: ```php instead of ```lang=php.

Added documentation in D25547: Diviner: Improve documentation for remarkup code blocks

Feb 29 2024, 17:36Remarkup
valerio.bozzolan added a comment to T15747: Support short language specifier in code blocks: ```php instead of ```lang=php.

Yeah enjoy this feature! Already part of our glorious 2023 Week 32

Feb 29 2024, 08:31Remarkup
valerio.bozzolan merged T15747: Support short language specifier in code blocks: ```php instead of ```lang=php into T15481: Support language highlighting for GitHub+StackOverflow+GitLab "Flavored Markdown" code blocks.
Feb 29 2024, 08:30Feature Requests, Remarkup
valerio.bozzolan merged task T15747: Support short language specifier in code blocks: ```php instead of ```lang=php into T15481: Support language highlighting for GitHub+StackOverflow+GitLab "Flavored Markdown" code blocks.
Feb 29 2024, 08:30Remarkup
valerio.bozzolan closed T15293: Try to avoid message: Transaction (of type "core:file") has no effect as Resolved by committing rP6df26b98c104: Comments: avoid confusing warning about "core:file".
Feb 29 2024, 08:17Files, Remarkup
valerio.bozzolan closed T15293: Try to avoid message: Transaction (of type "core:file") has no effect, a subtask of T15106: "Upload file" in remarkup text fields should attach by default , as Resolved.
Feb 29 2024, 08:17Files, Remarkup
20after4 closed T15747: Support short language specifier in code blocks: ```php instead of ```lang=php as Invalid.
Feb 29 2024, 06:34Remarkup
20after4 added a comment to T15747: Support short language specifier in code blocks: ```php instead of ```lang=php.

Hahah I guess I could have tested it first.

Feb 29 2024, 06:33Remarkup
avivey updated subscribers of T15747: Support short language specifier in code blocks: ```php instead of ```lang=php.

I think we already did - @valerio.bozzolan ?

Feb 29 2024, 05:28Remarkup

Feb 28 2024

20after4 created T15747: Support short language specifier in code blocks: ```php instead of ```lang=php.
Feb 28 2024, 18:35Remarkup
valerio.bozzolan added a revision to T15293: Try to avoid message: Transaction (of type "core:file") has no effect: D25544: Comments: avoid confusing warning about "core:file".
Feb 28 2024, 15:49Files, Remarkup
valerio.bozzolan claimed T15293: Try to avoid message: Transaction (of type "core:file") has no effect.

Gotcha. Probably this is generating the attachment transactions but should be "ignored on no effects":

Feb 28 2024, 15:23Files, Remarkup
valerio.bozzolan added a comment to T15106: "Upload file" in remarkup text fields should attach by default .

This feature is not complete also for Conpherence AFAIK

Feb 28 2024, 15:02Files, Remarkup

Feb 27 2024

20after4 added a comment to T15743: Support for math (LaTeX) in Remarkup.
Feb 27 2024, 01:21Remarkup

Feb 26 2024

20after4 added a comment to T15743: Support for math (LaTeX) in Remarkup.

Interestingly, I just discovered Wikimedia has a pretty cool project to render math on the server side, by transpiling some js into php:

Feb 26 2024, 19:18Remarkup
20after4 added a comment to T15743: Support for math (LaTeX) in Remarkup.

There is also MathJax, a subset of LaTex that only covers the mathematical notation without the page layout functionality.

Feb 26 2024, 17:42Remarkup

Feb 25 2024

valerio.bozzolan added a comment to T15743: Support for math (LaTeX) in Remarkup.

I see that it depends on a NodeJS external script (server-side).

Feb 25 2024, 15:34Remarkup
20after4 claimed T15744: Render html color codes in remarkup.
Feb 25 2024, 04:14Remarkup
20after4 triaged T15744: Render html color codes in remarkup as Normal priority.
Feb 25 2024, 04:14Remarkup
20after4 added a revision to T15744: Render html color codes in remarkup: D25540: Add PhutilRemarkupHexColorCodeRule, a new remarkup rule to format color codes.
Feb 25 2024, 04:10Remarkup
20after4 added a comment to T15744: Render html color codes in remarkup.

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 25 2024, 00:53Remarkup