Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:dokuwiki [2026/01/05 04:58] – add tinymde + image section diamondsoftware:dokuwiki [2026/01/07 08:33] (current) – add note on wrap plugin diamond
Line 24: Line 24:
 Here's the code for it: Here's the code for it:
  
-````+```
 > **Note:** Fire Warning > **Note:** Fire Warning
 > >
 > This device may catch fire. Use with caution. > This device may catch fire. Use with caution.
-````+```
  
 For this to work, the first text part of the blockquote must be a bold string (`**bold**`). The CSS will automatically style it like the above. For this to work, the first text part of the blockquote must be a bold string (`**bold**`). The CSS will automatically style it like the above.
Line 47: Line 47:
 - To set the height of the image to 100, add `?0x100` to the end of the image URL. - To set the height of the image to 100, add `?0x100` to the end of the image URL.
 - To center the image, wrap it in a `<div centeralign>` block like you would in HTML. Note that this isn't actually HTML but rather custom Dokuwiki markup intermingling with Markdown. - To center the image, wrap it in a `<div centeralign>` block like you would in HTML. Note that this isn't actually HTML but rather custom Dokuwiki markup intermingling with Markdown.
 +
 +### Format using Prettier
 +
 +The sparkly button on the editor toolbar will format the entire page's source using Prettier as a Markdown file. **DO NOT run this if the page is written entirely in Dokuwiki markup.**
 +
 +It is recommended that you run this tool whenever you paste any Markdown snippet from outside.
 +
 +### Aligning Content
 +
 +We run the [Wrap plugin](https://www.dokuwiki.org/plugin:wrap), which lets you do layouting tricks, such as aligning images in the center:
 +
 +```
 +<div centeralign>
 +  ![](path/to/image.jpg)
 +</div>
 +```
 +
 +Refer to their documentation for more information.
  
 ## Namespacing ## Namespacing
Line 95: Line 113:
  
 These patchsets are maintained by a set of NixOS configurations. See [NixOS Boxes](/infrastructure/nixos-boxes) for more information. These patchsets are maintained by a set of NixOS configurations. See [NixOS Boxes](/infrastructure/nixos-boxes) for more information.
 +