You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pantsbuild/pants#20492 (comment), we noticed that it's convenient to write #... issue references in docs, and some places (particularly GitHub renderers) will auto-link them.
If we could do the same in our published website that might be nice, e.g. replace matches of /#([0-9]{3,})/ with [#\1](https://github.com/pantsbuild/pants/issues/\1) (or some equivalent). Notes:
Preferably we'd do this in a Markdown aware-way, only in body text, and not within code blocks, existing links etc.
The {3,} is to require at least #123, to reduce spurious references like a reference to a list item ("#1 is a good option").
From a quick skim of the docusaurus docs and plugins, there doesn't appear to be existing support for this, but I might've missed it.
The text was updated successfully, but these errors were encountered:
In pantsbuild/pants#20492 (comment), we noticed that it's convenient to write #... issue references in docs, and some places (particularly GitHub renderers) will auto-link them.
If we could do the same in our published website that might be nice, e.g. replace matches of
/#([0-9]{3,})/
with[#\1](https://github.com/pantsbuild/pants/issues/\1)
(or some equivalent). Notes:{3,}
is to require at least#123
, to reduce spurious references like a reference to a list item ("#1 is a good option
").From a quick skim of the docusaurus docs and plugins, there doesn't appear to be existing support for this, but I might've missed it.
The text was updated successfully, but these errors were encountered: