diff --git a/apps/tests/xml-parser-tests/xml-parser-tests.ts b/apps/tests/xml-parser-tests/xml-parser-tests.ts
index 9dfa2176f..7418f9084 100644
--- a/apps/tests/xml-parser-tests/xml-parser-tests.ts
+++ b/apps/tests/xml-parser-tests/xml-parser-tests.ts
@@ -1,10 +1,9 @@
//
// # Xml module
// Using xml requires the Xml module.
-// ``` JavaScript
+// >> xml-module
//var xmlModule = require("xml");
-// ```
-//
+// << xml-module
import TKUnit = require("../TKUnit");
import xmlModule = require("xml");
@@ -121,9 +120,8 @@ export var test_XmlParser_IntegrationTest = function () {
};
export var test_XmlParser_DummyDocumentationTest = function () {
- //
- // ### Parse XML
- // ``` JavaScript
+
+ // >> xml-parser-snippet
var onEventCallback = function (event: xmlModule.ParserEvent) {
switch (event.eventType) {
@@ -169,7 +167,7 @@ export var test_XmlParser_DummyDocumentationTest = function () {
//// EndElement Second
//// EndElement Document
// ```
- //
+ // << xml-parser-snippet
};
export var test_XmlParser_NamespacesTest = function () {
diff --git a/apps/tests/xml-parser-tests/xml-parser.md b/apps/tests/xml-parser-tests/xml-parser.md
new file mode 100644
index 000000000..8eeb93866
--- /dev/null
+++ b/apps/tests/xml-parser-tests/xml-parser.md
@@ -0,0 +1,11 @@
+---
+nav-title: "xml How-To"
+title: "How-To"
+description: "Examples for using xml"
+---
+# Xml module
+Using xml requires the Xml module.
+
+### Parse XML
+
+
diff --git a/gruntfile.js b/gruntfile.js
index 6c358c93f..d28154763 100644
--- a/gruntfile.js
+++ b/gruntfile.js
@@ -429,7 +429,7 @@ module.exports = function(grunt) {
cmd: "grunt simplemocha:node"
},
injectArticles: {
- cmd: "./node_modules/.bin/mdinject --root=<%= localCfg.srcAppsTests %> --docsroot=<%= localCfg.outArticlesDir %>"
+ cmd: "node node_modules/markdown-snippet-injector/index.js --root=<%= localCfg.srcAppsTests %> --docsroot=<%= localCfg.outArticlesDir %>"
}
},
multidest: {