summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-mkdocs-material-extensions/Makefile18
-rw-r--r--textproc/py-mkdocs-material-extensions/distinfo3
-rw-r--r--textproc/py-mkdocs-material-extensions/pkg-descr13
4 files changed, 35 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index dcbc234ff630..0b68c2f4e916 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1368,6 +1368,7 @@
SUBDIR += py-misaka
SUBDIR += py-mistune
SUBDIR += py-mkdocs
+ SUBDIR += py-mkdocs-material-extensions
SUBDIR += py-mkdocs-nature
SUBDIR += py-mwparserfromhell
SUBDIR += py-myst-parser
diff --git a/textproc/py-mkdocs-material-extensions/Makefile b/textproc/py-mkdocs-material-extensions/Makefile
new file mode 100644
index 000000000000..f1f0e3d2124d
--- /dev/null
+++ b/textproc/py-mkdocs-material-extensions/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= mkdocs-material-extensions
+DISTVERSION= 1.0.3
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Markdown extension resources for MkDocs for Material
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-mkdocs-material-extensions/distinfo b/textproc/py-mkdocs-material-extensions/distinfo
new file mode 100644
index 000000000000..1c24aa70d0ef
--- /dev/null
+++ b/textproc/py-mkdocs-material-extensions/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641745761
+SHA256 (mkdocs-material-extensions-1.0.3.tar.gz) = bfd24dfdef7b41c312ede42648f9eb83476ea168ec163b613f9abd12bbfddba2
+SIZE (mkdocs-material-extensions-1.0.3.tar.gz) = 11722
diff --git a/textproc/py-mkdocs-material-extensions/pkg-descr b/textproc/py-mkdocs-material-extensions/pkg-descr
new file mode 100644
index 000000000000..4753b26d6b8b
--- /dev/null
+++ b/textproc/py-mkdocs-material-extensions/pkg-descr
@@ -0,0 +1,13 @@
+MkDocs Material provides numerous icons from Material, FontAwesome, and
+Octicons, but it does so by inlining the SVG icons into the source. Currently
+there is no easy way access these icons and arbitrarily insert them into
+Markdown content. Users must include the icon fonts themselves and do it with
+HTML.
+
+This module allows you to use PyMdown Extensions' Emoji extension to enable
+easy insertion of MkDocs Material's SVG assets using simple :emoji-syntax:.
+
+This is done by creating our own emoji index and emoji generator. The custom
+index provides a modified version of the Emoji extensions Twemoji index.
+
+WWW: https://github.com/facelessuser/mkdocs-material-extensions