Remove standalone HTML file and refactor formatting doc integration
Replaced the static `formatdoc.html` with a modular approach using Liquid templates (`_includes/format_doc.liquid`) and Markdown configuration (`pages/formatdoc.md`). This improves maintainability and aligns with the site’s templating system.
This commit is contained in:
1 parent
179b3ab06a
commit
4cf7cc1a49
3 files changed
+13
-33
No files matched your search
@@ -0,0 +1,7 @@
|
||||
<p class="text-xs">
|
||||
Blank lines separate paragraphs.<br><br>
|
||||
Text surrounded by asterisks is italicized. To get a literal asterisk, use \* or **.<br><br>
|
||||
Text after a blank line that is indented by two or more spaces is reproduced verbatim. (This is intended for code.)<br><br>
|
||||
Urls become links, except in the text field of a submission.<br><br>
|
||||
If your url gets linked incorrectly, put it in <angle brackets> and it should work.
|
||||
</p>
|
||||
@@ -1,33 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link href="/assets/css/styles.css" rel="stylesheet">
|
||||
<title>Formatting Options - Behind the Desk</title>
|
||||
</head>
|
||||
<body class="font-sans text-text-default pt-navbar-height">
|
||||
<nav class="fixed top-0 left-0 right-0 bg-navbar-bg border-b border-navbar-border z-10" role="navigation" aria-label="main navigation">
|
||||
<div class="max-w-screen-lg mx-auto px-4">
|
||||
<div class="flex justify-between">
|
||||
<div class="flex">
|
||||
<a class="py-2 px-3 font-bold text-primary" href="/">
|
||||
Formatting Options
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<main class="max-w-screen-lg mx-auto py-4 pb-16 bg-bg-footer">
|
||||
<div class="px-4 mt-8">
|
||||
<p class="text-xs">
|
||||
Blank lines separate paragraphs.<br><br>
|
||||
Text surrounded by asterisks is italicized. To get a literal asterisk, use \* or **.<br><br>
|
||||
Text after a blank line that is indented by two or more spaces is reproduced verbatim. (This is intended for code.)<br><br>
|
||||
Urls become links, except in the text field of a submission.<br><br>
|
||||
If your url gets linked incorrectly, put it in <angle brackets> and it should work.
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
layout: simple
|
||||
title: Formatting Options
|
||||
permalink: /formatdoc/
|
||||
---
|
||||
{% include format_doc.liquid %}
|
||||
Reference in new issue
Block a user