blueprints.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. name: 'Markdown Notices'
  2. type: plugin
  3. slug: markdown-notices
  4. version: 1.1.0
  5. description: 'Adds the ability to render notices blocks in Markdown'
  6. icon: asterisk
  7. author:
  8. name: Team Grav
  9. email: devs@getgrav.org
  10. url: http://getgrav.org
  11. homepage: https://github.com/getgrav/grav-plugin-markdown-notices
  12. license: MIT
  13. dependencies:
  14. - { name: grav, version: '>=1.6.0' }
  15. form:
  16. validation: strict
  17. fields:
  18. enabled:
  19. type: toggle
  20. label: PLUGIN_ADMIN.PLUGIN_STATUS
  21. highlight: 1
  22. default: 0
  23. options:
  24. 1: PLUGIN_ADMIN.ENABLED
  25. 0: PLUGIN_ADMIN.DISABLED
  26. validate:
  27. type: bool
  28. built_in_css:
  29. type: toggle
  30. label: PLUGIN_MARKDOWN_NOTICES.USE_BUILT_IN_CSS
  31. highlight: 1
  32. default: 1
  33. options:
  34. 1: PLUGIN_ADMIN.ENABLED
  35. 0: PLUGIN_ADMIN.DISABLED
  36. validate:
  37. type: bool
  38. base_classes:
  39. type: selectize
  40. label: PLUGIN_MARKDOWN_NOTICES.BASE_CLASSES
  41. size: large
  42. placeholder: PLUGIN_MARKDOWN_NOTICES.BASE_CLASSES_PLACEHOLDER
  43. help: PLUGIN_MARKDOWN_NOTICES.BASE_CLASSES_HELP
  44. classes: fancy
  45. validate:
  46. type: string
  47. level_classes:
  48. type: selectize
  49. label: PLUGIN_MARKDOWN_NOTICES.LEVEL_CLASSES
  50. size: large
  51. placeholder: PLUGIN_MARKDOWN_NOTICES.LEVEL_CLASSES_PLACEHOLDER
  52. help: PLUGIN_MARKDOWN_NOTICES.LEVEL_CLASSES_HELP
  53. classes: fancy
  54. validate:
  55. type: commalist