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/embed-files.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ Sometimes you don't want to embed a whole file. Maybe because you need just a fe
67
67
In your code file you need to surround the fragment between `/// [demo]` lines (before and after the fragment).
68
68
Alternatively you can use `### [demo]`. By default, only identifiers are omitted. To omit the entire line containing the identifier in the fragment output, add the `:omitFragmentLine` option. This is useful if your code fragment is e.g. HTML and you want to hide the Docsify fragment identifier from showing in your HTML source. `<!-- /// [demo] -->` in your source file and `:omitFragmentLine` will make the `-->` not show up in your Docsify code fragment section.
69
69
70
-
Example: The file [\_media/example.js](_media/example.js':ignore') contains `/// [demo]` identifiers:
70
+
Example: In the source file \_media/example.js, `/// [demo]` identifiers have been included:
0 commit comments