plugin.json 2.3 KB

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