diff --git a/srcpkgs/Marker/patches/system-mathjax.patch b/srcpkgs/Marker/patches/system-mathjax.patch
new file mode 100644
index 00000000000..1ef9fde3693
--- /dev/null
+++ b/srcpkgs/Marker/patches/system-mathjax.patch
@@ -0,0 +1,12 @@
+--- a/src/marker-markdown.c
++++ b/src/marker-markdown.c
+@@ -87,8 +87,7 @@ char* html_header(MarkerMathJSMode ma
+ } else
+ {
+ mathjs_css = g_strdup(" ");
+- mathjs_script = g_strdup_printf("",
+- SCRIPTS_DIR);
++ mathjs_script = g_strdup("");
+ mathjs_auto = g_strdup(" ");
+ }
+ break;
diff --git a/srcpkgs/Marker/template b/srcpkgs/Marker/template
index c18cb26f02b..1bc21fc3937 100644
--- a/srcpkgs/Marker/template
+++ b/srcpkgs/Marker/template
@@ -1,12 +1,12 @@
# Template file for 'Marker'
pkgname=Marker
version=2020.04.04
-revision=2
+revision=3
build_style=meson
hostmakedepends="glib-devel pkg-config itstool gettext"
makedepends="gtksourceview-devel gtkspell3-devel gtk+3-devel libglib-devel
webkit2gtk-devel"
-depends="iso-codes"
+depends="iso-codes mathjax2"
short_desc="Gtk3 markdown editor"
maintainer="Enno Boland "
license="GPL-3.0-or-later, ISC"