docs/__capabilities.md
This page lays out the capabilities used by the QMK Firmware documentation, in order to aid future transitions to other page generators. Focuses mainly on things other than normal Markdown, as it's assumed that markdown generators should still function accordingly.
Unrelated to styling, high-level tech.
:id=some-anchor-name, used for direct linking to sections
docs.qmk.fmindex.html
Newlines with :
Line one
Line two
Line three
Nested dotted:
Nested dashed:
Nested numbered:
Nested mixed:
data/schemas/keyboards.jsonschemadata/mapslib/python/qmk/info.pylib/python/qmk/cli/generate/config_h.pylib/python/qmk/cli/generate/rules_mk.pyππ First off, thanks for taking the time to read this and contribute! ππ
:heavy_check_mark: : works and was tested
:o: : does not apply
:x: : not supported by MCU
clueboard β This is the organization folder, there's no rules.mk file
1β4
Command+<code>`</code>
<b style="font-size:150%">This is 150% of normal sizing, and bold!</b>
| Column A | Column B |
|---|---|
| Left | Right |
Indent without any sort of marker
?> Query, this?
!> Notification, damnit!
::: info This is an info box. :::
::: tip This is a tip. :::
::: warning This is a warning. :::
::: danger This is a dangerous warning. :::
::: details This is a details block. :::
<kbd>,</kbd>
<kbd>Right Alt</kbd>+<kbd>Right Shift</kbd>
Click <kbd>File</kbd> > <kbd>New</kbd> > <kbd>Makefile Project with Existing Code</kbd>
Click <kbd><kbd>File</kbd> > <kbd>Preferences ></kbd> > <kbd>Settings</kbd> </kbd>
Hit Ctrl-<code>`</code> (Grave) to bring up the terminal or go to <kbd><kbd>View</kbd> > <kbd>Terminal</kbd></kbd> (command workbench.action.terminal.toggleTerminal). A new terminal will be opened if there isnβt one already.
This should start the terminal in the workspace's folder (so the qmk_firmware folder), and then you can compile your keyboard.
Inline code with tag: <code>test</code>
Inline code with backticks: test
This is preformatted
Indented by 4 spaces
The letters lined up
int c_code(void) {
return -1;
}
ifeq ($(BUILD),)
CHUNDER_REQUIRED = yes
endif
from pathlib import Path
p = Path('/path/to/qmk_firmware')
{
"a": "b",
"c": 4,
"d": {
"e": [
0, 1, 2, 3
]
}
}
#undef RGBLIGHT_LED_COUNT
+#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
+#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_LED_COUNT 12
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
Indented code as part of a list:
:teensy target in QMK (recommended command line)
teensy_loader_cli -v -mmcu=<mcu> <filename>
<sub>This is subscripted, apparently.</sub>
<sup>This is superscripted, apparently.</sup>
I<sup>2</sup>C
T<sub>0H</sub>, T<sub>0L</sub>
Tabs are based on section headers, with ** enclosing the tab title.
Content one
<!-- tabs:start -->Nested content one
Nested content two
<!-- tabs:end -->Content two
Content three
<!-- tabs:end -->::::tabs === tab a a content 2 === tab b b content 2 === tab c
nested a content 2
::::
Expandable:
<details> <summary>Some summary text that shows up before expanding</summary>!> Embedded notification!
This is some inner content.
</details>