This page is a kitchen-sink for Markdown features. Use it to verify how GitHub Pages (Jekyll + kramdown) renders elements so you can style them consistently.
Quick links: Overview · Typography · Lists · Code · Tables · Media · Details · Footnotes · Math
Status: Draft
Last updated: 2026-02-24
Tags: jekyll, github-pages, docs, theme
A paragraph with common inline elements: bold, italic, bold italic, strikethrough, inline code, and a link to GitHub.
A second paragraph with an inline HTML <kbd> element for styling: Press Ctrl + K to open search (prototype later).
Blockquote: Use blockquotes for notes, citations, or callouts.
A second paragraph inside the same blockquote.
Use backslashes to escape: *literal asterisks* and _literal underscores_.
inline codebundle installbundle exec jekyll serveInline code: console.log("hello")
// Example module pattern for docs demos
export function greet(name = "world") {
const msg = `Hello, ${name}!`;
console.log(msg);
return msg;
}
document.addEventListener("DOMContentLoaded", () => {
greet("GitHub Pages");
});
/// @function scr_spawn_enemy(_type, _x, _y)
/// @desc Spawns an enemy instance and initializes basic state.
/// @param {string} _type
/// @param {real} _x
/// @param {real} _y
function scr_spawn_enemy(_type, _x, _y)
{
var inst = instance_create_layer(_x, _y, "Instances", obj_enemy);
inst.enemy_type = _type;
inst.hp = 10;
inst.speed = 2.5;
// Simple state init
inst.state = "idle";
inst.target = noone;
return inst;
}
bundle install
bundle exec jekyll serve --livereload
{
"name": "docs-theme-prototype",
"private": true,
"scripts": {
"dev": "bundle exec jekyll serve --livereload"
}
}
<div class="example">
Indented code blocks still appear sometimes.
</div>
- old line
+ new line
| Feature | Markdown | Notes |
|---|---|---|
| Left align | yes | Default for first column |
| Right align | yes | Uses ---: |
| Inline code | true |
Should be monospace |
| Long text | yes | Wrap + responsive behavior |
A narrower table (test overflow on mobile):
| Key | Value |
|---|---|
| A | 123 |
| B | 456 |
| C | 789 |
If you add an image at assets/img/sample.png, this should render:


If you want to test external sources:

.callout.
<details>)Relative links (test in your repo):
Reference-style links:
This is a reference link and another reference link.
This is a sentence with a footnote.1 And another footnote.2
GitHub Pages won’t render LaTeX by default unless you add MathJax/KaTeX. Still, this helps you verify the raw HTML output and later enhancement.
Inline math: ( E = mc^2 )
Block math:
[ \int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2} ]
docs-theme-prototype/
├─ _config.yml
├─ _layouts/
│ └─ default.html
├─ assets/
│ ├─ css/
│ └─ img/
│ └─ sample.png
└─ sample.md
End of sample.