diff --git a/tests/fixtures/docs/manual.md b/tests/fixtures/docs/manual.md
new file mode 100644
index 0000000..ab60f3b
--- /dev/null
+++ b/tests/fixtures/docs/manual.md
@@ -0,0 +1 @@
+![image](img.png){ .on-glb }
diff --git a/tests/fixtures/mkdocs-manual.yml b/tests/fixtures/mkdocs-manual.yml
new file mode 100644
index 0000000..9d996ef
--- /dev/null
+++ b/tests/fixtures/mkdocs-manual.yml
@@ -0,0 +1,9 @@
+site_name: test mkdocs_glightbox
+use_directory_urls: true
+
+markdown_extensions:
+ - attr_list
+
+plugins:
+ - glightbox:
+ manual: true
diff --git a/tests/test_builds.py b/tests/test_builds.py
index 4c76a47..91b9f4c 100644
--- a/tests/test_builds.py
+++ b/tests/test_builds.py
@@ -663,3 +663,31 @@ def test_enable_by_image(tmp_path):
rf'<\/a>',
contents,
)
+
+
+def test_manual(tmp_path):
+ """
+ Manual mode
+ """
+ mkdocs_file = "mkdocs-manual.yml"
+ testproject_path = validate_mkdocs_file(tmp_path, f"tests/fixtures/{mkdocs_file}")
+ file = testproject_path / "site/index.html"
+ contents = file.read_text(encoding="utf8")
+ validate_static(contents)
+ validate_script(contents)
+ assert (
+ re.search(
+ r'\s*<\/a>',
+ contents,
+ )
+ is None
+ )
+
+ file = testproject_path / "site/manual/index.html"
+ contents = file.read_text(encoding="utf8")
+ validate_static(contents, path="../")
+ validate_script(contents)
+ assert re.search(
+ r'\s*<\/a>',
+ contents,
+ )