Skip to content

Commit eebe6e1

Browse files
committed
Exclude video markup from text output
For the Plone Nuclia project, we are experimenting with various outputs for easier indexing. This PR excludes videos from only the text output from the `make text` command. It affects only the text builder.
1 parent c17e1e8 commit eebe6e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/contributing/documentation/myst-reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,10 @@ Note that the path must be absolute to support both submodules and the main docu
268268
Don't use file-relative paths.
269269
The above MyST markup renders as shown below.
270270

271+
````{only} not text
271272
```{video} /_static/user-manual/blocks/block-copy-cut.mp4
272273
```
274+
````
273275

274276

275277
### Diagrams and graphs with Graphviz

0 commit comments

Comments
 (0)