1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

textproc/py-mdx_wikilink_plus: New port

Converts wikilinks ([[wikilink]]) to relative links, including support
for GitHub image variant. Absolute links are kept as is (with an
automatic label made from the file path part in the URL if label is not
given explicitly).

You must not use this extension with markdown.extensions.wikilinks. This
extension is designed to provide the functionalities of
markdown.extensions.wikilinks with some extra features. Choose either
one.

WWW: https://github.com/neurobin/mdx_wikilink_plus
This commit is contained in:
Muhammad Moinur Rahman 2024-09-17 15:25:49 +02:00
parent db2663eccd
commit 82049bff78
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
4 changed files with 32 additions and 0 deletions

View File

@ -1445,6 +1445,7 @@
SUBDIR += py-mdformat
SUBDIR += py-mdit-py-plugins
SUBDIR += py-mdurl
SUBDIR += py-mdx_wikilink_plus
SUBDIR += py-merge3
SUBDIR += py-mike
SUBDIR += py-misaka

View File

@ -0,0 +1,21 @@
PORTNAME= mdx_wikilink_plus
DISTVERSION= 1.4.1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Converts wikilinks to relative links
WWW= https://github.com/neurobin/mdx_wikilink_plus
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=2.6:textproc/py-markdown@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils unittest
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1726579294
SHA256 (mdx_wikilink_plus-1.4.1.tar.gz) = b82446c00a49a57a5ccab48e6053168397f6ed818d2183a8a0f7472aa0e8e3ca
SIZE (mdx_wikilink_plus-1.4.1.tar.gz) = 9896

View File

@ -0,0 +1,7 @@
Converts wikilinks ([[wikilink]]) to relative links, including support for
GitHub image variant. Absolute links are kept as is (with an automatic label
made from the file path part in the URL if label is not given explicitly).
You must not use this extension with markdown.extensions.wikilinks. This
extension is designed to provide the functionalities of
markdown.extensions.wikilinks with some extra features. Choose either one.