International Law etc. website code
React Lite YouTube Embed can be used to insert a video from YouTube to .mdx file.
An example:
import LiteYouTubeEmbed from 'react-lite-youtube-embed';
import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css';
<LiteYouTubeEmbed
id="WcPJUgz_bq4"
title='Viktor Ageyev: How to overcome the "veto power" in the UN Security Council'
noCookie={false}
/>
Importing Markdown ("partials")
link to assets (e.g. docx files, images...)
Admonitions. You can use MDX inside admonitions too.
plugin-ideal-image supports the PNG and JPG formats only.
npm install --save @docusaurus/plugin-ideal-image
Can be used like that:
Optionally, you can add tags to your doc pages, which introduces another dimension of categorization in addition to the docs sidebar. Tags are passed in the front matter as a list of labels:
---
id: doc-with-tags
title: A doc with tags
tags:
- Demo
- Getting started
---
Tags can also be declared with tags: [Demo, Getting started].
(.md) or {/* truncate */} (.mdx) marker
Illustrations for texts in 'docs' and 'blog' sections are stored in the corresponding folders in /static/img/Illustrations
In the output they will be placed in img/
directory.
To reference an image in the blog post, omit static
, for example:
