Re: Docs for enhanced linking style with '<' for '|' ?
by eyepopslikeamosquito (Archbishop) on Jan 25, 2024 at 16:27 UTC
|
I can only imagine eyepops using it for his extensive link collections ;-)
Just added your question to Perl Monks Culture References ...
sounds like you're about to become a competitor, with the LanX link collection. :-)
I'd never heard of your fancy linking notation before,
interested to learn how you knew about it.
| [reply] |
|
> I'd never heard of your fancy linking notation before, interested to learn how you knew about it.
I wanted to improve the monastery to make linking to nodes easier in "monktainer" (a general container template) and it turned out I needed to patch a printf-like format system in "node_info_string" first. This involved searching for other code/node/templates depending on it to avoid other parts to break.
Turned out this [id://...< FORMATS] things is using it too. But since it's nowhere documented for simple users I'm confident no older write-ups were effected.
TL;DR: Just to show how complicated it is for pmdevs to add little improvements to the monastery.
Update
See also How do I link to a node on this site by number?
| [reply] [d/l] |
|
Turns out it's also used to format the title bar of each node (not to be confused with the written title) and can be configured.
See How do I link to a node on this site by number?:
> Edit your Display Settings and set the Custom Node Title Definition to include %N (to show the node ID). You'll probably want this to show the node's Title as well, so include %T in the setting too.
FWIW: it's this title which will end in your bookmark list after adding (not what's printed inside the body).
So if you are maintaining large link collections like eyepops or discipulus and want to automatically add infos like date and author, a detour via collecting bookmarks and importing them might be helpful. :)
| [reply] |
Re: Docs for enhanced linking style with '<' for '|' ?
by jdporter (Paladin) on Jan 25, 2024 at 17:01 UTC
|
| [reply] [d/l] |
|
| [reply] [d/l] |
|
| [reply] |
|
Re: Docs for enhanced linking style with '<' for '|' ?
by erzuuli (Cannon) on Jan 25, 2024 at 17:18 UTC
|
I have applied your patch. Thank you!
How do people like the new look? For me at least, I think it will take a little getting used to.
| [reply] |
|
| [reply] |
|
> I have applied your patch. Thank you!
Thank, you! Tho I thought indrocuing a new format %I would have been cleaner. :)
> How do people like the new look? For me at least, I think it will take a little getting used to.
Ha! I'm resisting the urge to spoil it. :)
It's a very subtle change, if you don't know where to look.
And mere monks can't see the patches and discussions leading to it.
(I suppose only pmdevs and gods can?)
| [reply] |
|
Well, the only thing that's "broken" by this change is Walk like a Romulan, and I'm the only one who uses that; so if/when I decide I can't live with it the way it is, I might make a new format for it.
| [reply] |
|