Crates.io | markdown-linkify |
lib.rs | markdown-linkify |
version | 0.3.1 |
source | src |
created_at | 2023-08-23 12:22:53.438704 |
updated_at | 2023-10-01 17:49:37.840789 |
description | Markdown preprocessor for substiting link shorthands to valid links according to configurable regexes and custom substitution implementations |
homepage | |
repository | https://github.com/barafael/markdown-tools |
max_upload_size | |
id | 951937 |
size | 91,779 |
Replace link shorthands, such as
In [PS-128], the issue is described in detail.
with actual links. For example, the above could be transformed to:
In [PS-128](https://www.company.jira.com/issues/PS-128), the issue is described in detail.
Custom replacers exist, so far only for docs.rs and doc.rust-lang.org/.
See test.md
for the supported expressions.
Supports [tag]
-style "broken links" and many forms of [title or empty](tag "optional hover text")
.
The specific replacements depend on the matching transformer.