You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/plugins/features/notice.md
+36-3
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,12 @@ Each notice options needs to contain a `path` or `match` option, which is used t
33
33
A notice configuration item includes:
34
34
35
35
-`title`: Notice title, support both text and HTMLString
36
-
-`content`: Notice content, support both text and HTMLString
36
+
-`content`: Notice content, support both text, HTMLString and Markdown
37
+
38
+
- When using `Markdown` as content, the `contentType` should be set to `markdown`.
39
+
40
+
- You can also use `contentFile` to specify the absolute path of a file, with the file format being `.md` or `.html`, to read the notice content from the file.
0 commit comments