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:
parent
db2663eccd
commit
82049bff78
@ -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
|
||||
|
21
textproc/py-mdx_wikilink_plus/Makefile
Normal file
21
textproc/py-mdx_wikilink_plus/Makefile
Normal 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>
|
3
textproc/py-mdx_wikilink_plus/distinfo
Normal file
3
textproc/py-mdx_wikilink_plus/distinfo
Normal 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
|
7
textproc/py-mdx_wikilink_plus/pkg-descr
Normal file
7
textproc/py-mdx_wikilink_plus/pkg-descr
Normal 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.
|
Loading…
Reference in New Issue
Block a user