markdown-up 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "markdown-up",
4
- "version": "1.0.6",
4
+ "version": "1.0.7",
5
5
  "description": "JavaScript Markdown viewer application",
6
6
  "keywords": [
7
7
  "markdown",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "element-model": "~1.0",
27
- "markdown-model": "~1.0",
27
+ "markdown-model": "~1.1",
28
28
  "schema-markdown": "~1.0",
29
29
  "schema-markdown-doc": "~1.0"
30
30
  },
@@ -22,7 +22,7 @@ struct MarkdownUp
22
22
  union Command
23
23
 
24
24
  # Render the application's hash parameter documentation
25
- int(==1) help
25
+ int(== 1) help
26
26
  `).types);
27
27
 
28
28
 
@@ -117,7 +117,7 @@ export class MarkdownUp {
117
117
  // Render the text as Markdown
118
118
  const markdownModel = parseMarkdown(text);
119
119
  const markdownTitle = getMarkdownTitle(markdownModel);
120
- const result = {'elements': markdownElements(markdownModel, url)};
120
+ const result = {'elements': markdownElements(markdownModel, {url})};
121
121
  if (markdownTitle !== null) {
122
122
  result.title = markdownTitle;
123
123
  }