File size: 2,325 Bytes
4cb60dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
  "jupyter.lab.setting-icon": "ui-components:markdown",
  "jupyter.lab.setting-icon-label": "Markdown Viewer",
  "title": "Markdown Viewer",
  "description": "Markdown viewer settings.",
  "jupyter.lab.menus": {
    "context": [
      {
        "command": "markdownviewer:edit",
        "selector": ".jp-RenderedMarkdown"
      }
    ]
  },
  "definitions": {
    "fontFamily": {
      "type": ["string", "null"]
    },
    "fontSize": {
      "type": ["integer", "null"],
      "minimum": 1,
      "maximum": 100
    },
    "lineHeight": {
      "type": ["number", "null"]
    },
    "lineWidth": {
      "type": ["number", "null"]
    },
    "hideFrontMatter": {
      "type": "boolean"
    },
    "renderTimeout": {
      "type": "number"
    }
  },
  "properties": {
    "fontFamily": {
      "title": "Font Family",
      "description": "The font family used to render markdown.\nIf `null`, value from current theme is used.",
      "$ref": "#/definitions/fontFamily",
      "default": null
    },
    "fontSize": {
      "title": "Font Size",
      "description": "The size in pixel of the font used to render markdown.\nIf `null`, value from current theme is used.",
      "$ref": "#/definitions/fontSize",
      "default": null
    },
    "lineHeight": {
      "title": "Line Height",
      "description": "The line height used to render markdown.\nIf `null`, value from current theme is used.",
      "$ref": "#/definitions/lineHeight",
      "default": null
    },
    "lineWidth": {
      "title": "Line Width",
      "description": "The text line width expressed in CSS ch units.\nIf `null`, lines fit the viewport width.",
      "$ref": "#/definitions/lineWidth",
      "default": null
    },
    "hideFrontMatter": {
      "title": "Hide Front Matter",
      "description": "Whether to hide YAML front matter.\nThe YAML front matter must be placed at the top of the document,\nstarted by a line of three dashes (---) and ended by a line of\nthree dashes (---) or three points (...).",
      "$ref": "#/definitions/hideFrontMatter",
      "default": true
    },
    "renderTimeout": {
      "title": "Render Timeout",
      "description": "The render timeout in milliseconds.",
      "$ref": "#/definitions/renderTimeout",
      "default": 1000
    }
  },
  "additionalProperties": false,
  "type": "object"
}