autorefs icon indicating copy to clipboard operation
autorefs copied to clipboard

Automatically link across pages in MkDocs.

Results 12 autorefs issues
Sort by recently updated
recently updated
newest added

### Description of the bug The following logs shows up many times with verbose mode enabled: > mkdocs_autorefs: Enabling Markdown anchors feature It comes from here: https://github.com/mkdocstrings/autorefs/blob/08c8945d83de49b81050db12e09b97042056a243/src/mkdocs_autorefs/references.py#L324 ### To Reproduce...

This PR intends to add support for relative references ```py class A: """This is a class [A][.] which has a method [m][.m].""" def m(self) -> None: """This is the method...

@waylan noticed that links created by autorefs with the `[title][id]` syntax do not have a `title` HTML attribute. It would be nice to have a title in any case: -...

Just putting this here to get rid of a TODO in the code. **Is your feature request related to a problem? Please describe.** It can happen that a cross-reference which...

I am using the latest version. I use the `mkdocs-jupyter` plugin so I have some `ipynb` files in my `nav`: ```yaml nav: - Examples: - dsdasda: examples/xxx.ipynb - dsdsd: examples/xxx.ipynb...

Given the input `[*Foo-bar*][]` with no such matching identifier, the output is `[Foo-bar][*Foo-bar*]` but ideally it would be `[*Foo-bar*][]` or at least `[Foo-bar][]`. See https://github.com/mkdocstrings/autorefs/pull/5#discussion_r617119616

This changes the HTML tags used for auto-references from `span` to a custom `autoref` tag. This is made backward compatible by regex-replacing using both the old regex and the new...

This will allow a few things (some immediately, and some later): - immediately: allow handlers to customize how identifiers in references are handled (for example to support relative references, see...

I was annoyed by the different naming styles we have in the codebase. I'll rename `AUTO_REF_RE` too as `AUTOREF_RE` in another PR where it will be deprecated in favor of...