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
This page is an outline of custom formatting features implemented for use in the Morrowind Modding Wiki. To use these in Obsidian, enable all `MMW_` CSS snippets in Obsidian's 'Appearance' settings so they render correctly in Obsidian.
Image adjustments from SIRvb's Image Adjustments CSS snippet are incorporated into MMW. Some examples of how it can be used include:
12
15
- resizing images
13
16
- displaying images as a banner across the page or across a callout
14
17
- image-warp (using the CSS 'float' property), allowing text and other content to wrap around an image.
15
18
16
-
## Custom Callouts
19
+
#### Keyboard-Styled Text
20
+
21
+
Text can be styled like the keys of a keyboard by wrapping text within `<kbd> </kbd>` HTML tags. For example, `<kbd>ctrl</kbd> + <kbd>alt</kbd> + <kbd>del</kbd>` gets rendered as <kbd>ctrl</kbd> + <kbd>alt</kbd> + <kbd>del</kbd>.
22
+
23
+
These should be used for any instance where programs' default hotkeys (ones which are not customizable, or are the default keybinding) are mentioned.
24
+
25
+
> [!tip]- Closing HTML tags
26
+
>
27
+
> `<kbd>` is an HTML tag. It is used to surround an 'element' (in this case, a piece of text). As it is not self-closing, the second tag in a pair of closing tags needs a `forward slash` (<kbd>/</kbd>), for example: \<kbd\>\</kbd\>.
28
+
29
+
---
30
+
31
+
### Custom Callouts
17
32
18
33
In addition to the default [Obsidian Callouts](https://help.obsidian.md/Editing+and+formatting/Callouts), MMW also adds the following custom Callouts:
19
34
20
-
### Callout Grid
35
+
####Callout Grid
21
36
22
37
This pair of left and right callouts can be inserted to create a two-column grid of callouts. To add more rows to the grid, simply add more pairs of callouts.
23
38
@@ -28,7 +43,13 @@ This pair of left and right callouts can be inserted to create a two-column grid
28
43
Other callouts can be nested inside these.
29
44
30
45
31
-
### Captions
46
+
#### Captions
47
+
48
+
> [!caption_right]
49
+
>
50
+
> ![[PuzzleBoxOnly.png|wsmall]]
51
+
>
52
+
> `[!caption_right]` callout
32
53
33
54
Three callouts for adding captions to images. The callout title is hidden and text size reduced, similar to how Wikipedia and other wikis format their article image captions.
34
55
@@ -37,9 +58,39 @@ Three callouts for adding captions to images. The callout title is hidden and te
37
58
-`[!caption_right]` - floats to the right of the page
38
59
-`[!caption]` - centered in the middle of the page
39
60
40
-
### Infobox
61
+
####Infobox
41
62
42
63
A wiki-style infobox displayed in the top right of an article to summarize data from the article, such as requirements for a tutorial article.
0 commit comments