Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
8b070c1f
Commit
8b070c1f
authored
2 years ago
by
Danny Marc Rotscher
Browse files
Options
Downloads
Patches
Plain Diff
Added description and code example for video attachments.
parent
a1202d74
No related branches found
Branches containing commit
No related tags found
2 merge requests
!625
Automated merge from preview to main
,
!624
Resolve "Wie gehen wir mit Videos im HPC-Wiki um"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/contrib/content_rules.md
+13
-0
13 additions, 0 deletions
doc.zih.tu-dresden.de/docs/contrib/content_rules.md
with
13 additions
and
0 deletions
doc.zih.tu-dresden.de/docs/contrib/content_rules.md
+
13
−
0
View file @
8b070c1f
...
@@ -129,6 +129,8 @@ Further tips can be found on this
...
@@ -129,6 +129,8 @@ Further tips can be found on this
Please use images and graphics for illustration purposes and to improve comprehensibility.
Please use images and graphics for illustration purposes and to improve comprehensibility.
All graphics and attachments are saved within
`misc`
directory of the respective subdirectory in
All graphics and attachments are saved within
`misc`
directory of the respective subdirectory in
`docs`
.
`docs`
.
For video attachments please use either webm or mp4 format, in fact it would be best to upload one
file each in webm and mp4 because then you cover a wider range of browsers.
!!! example "Syntax"
!!! example "Syntax"
...
@@ -139,6 +141,17 @@ All graphics and attachments are saved within `misc` directory of the respective
...
@@ -139,6 +141,17 @@ All graphics and attachments are saved within `misc` directory of the respective
{: align="center"}
{: align="center"}
```
```
The syntax to insert a video attachment into a page is
```html
<video controls="" width="320" style="border: 1px solid black">
<source src="https://doc.zih.tu-dresden.de/software/misc/terminate-virtual-desktop-dcv.mp4"
type="video/mp4" />
<source src="https://doc.zih.tu-dresden.de/software/misc/terminate-virtual-desktop-dcv.webm"
type="video/webm" />
</video>
```
The attribute
`align`
is optional. By default, graphics are left-aligned.
**Note:**
It is crucial to
The attribute
`align`
is optional. By default, graphics are left-aligned.
**Note:**
It is crucial to
have
`{: align="center"}`
on a new line.
have
`{: align="center"}`
on a new line.
It is possible to add captions for tables and figures using
`{: summary="This is a table caption"}`
.
It is possible to add captions for tables and figures using
`{: summary="This is a table caption"}`
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment