Page MenuHomePhorge

Support Literal Blocks Syntax Inline
Open, Needs TriagePublic

Description

The Literal Block syntax works in blocks like this

See this Literal Block Bellow*



Check out rP and also see this link
https://secure.phabricator.com/T6668


However, I cannot reference some other %%%rP%%% or %%%https://secure.phabricator.com/T6668%%% link inline

This is especially frustrating in tables

The headerSome Value
Some thing%%%Checkout my external thing called rP%%%

On phabricator, the related tasks are as follows

The task was closed with this comment

You can use remarkup.ignored-object-names to ignore specific object names like T1 and P2 if they're common in your organization. If you don't have a use case beyond that, we probably won't pursue this.

Adding this task here to make sure that we have documented this issue on Phorge.

I have not yet looked into the technical challenges.

There are common cases here

Some examples

  • Amazon S3 Buckets
  • Uber's H3 Spatial Index
  • I like to watch F1 but I don't watch F2 or F3 very often

Event Timeline

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

I'm hesitant to give magic behavior to sequences which reasonably may occur in source code even if they only apply outside of code blocks, because new users don't necessarily know how code blocks work.

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.

Yes - that is my primary motivation.

  1. I type S3 alot :-) And recently H3
  2. My current workaround is using backticks - Which is fine... (although it highlights)

Tables support some inline makups

This IS BoldAnd here is some H3 stuffBut %%% Not this H3 Stuff %%%

However, they don't seem to support %%% S3 %%% inline Which I still don't understand the full scope as to why (even after reading the comments)

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?