Two weeks ago I provided a patch
Re: node_info_string - (patch) to change the linking of the ID in the header of all nodes to
[id://...] style.
The idea is to facilitate linking to nodes by simple copy&paste.
NB: Some browsers facilitate this further by providing a "copy link text" entry
in the context menu (right-click/long touch)
Explicitly
==== BEFORE:
The links in the page headers below the title looked like
- on Jan 25, 2024 at 13:46 CET ( #11157250 =pmdevnote: print w/replies, xml )
==== AFTER:
Now they display [id://...] around the link
- on Jan 25, 2024 at 13:46 CET ( [id://11157250] =pmdevnote: print w/replies, xml )
History
This patch was experimental, but so far nobody complained. I'd even say almost nobody noticed. :)
Linking with id:// has many advantages, like avoiding lock-outs and displaying the nodes title.
I hope this will make proper linking easier.
On a side note: I personally used this for over a decade already, changing the link was one of my first Nodelet hacks in JS.
Implementing it for PM proved to be far more complicated tho.
Related posts
Related docs
Updates
Added:
Highlighting
Better examples
Links
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.