.stretched-link
that makes a link cover the containing block. A clever trick that I discovered when Claude 3.5 Sonnet wrote my code. #html
cat file.md | pandoc -f markdown -t html
). My favorites: #document-conversion
#html
#markdown
--no-highlight
skips code-highlighting. --highlight=pygments
adds Pygments styling--wrap=none
doesn't wrap the content in a single block--number-sections
adds section numbering (<h2>1. Introduction</h2>
)--shift-heading-level-by=NUM
– shift all headings by NUM levels (e.g., start at <h2>
instead of <h1>
)pandoc -f markdown-auto_identifiers
drops the auto-identifiers extension that generates id=...
for each headingpandoc -f gfm
uses GitHub flavored Markdown. Run pandoc --list-extensions=gfm
to identify the extensions it uses.alerts
: GitHub-style callouts (info, tip, warning) via > [!TYPE]
blocks.autolink_bare_uris
: Turns bare URLs into links, without needing <...>
.emoji
: Parses :smile:
-style codes into Unicode emoji characters.footnotes
: Enables footnote syntax with [^id]
and definitions at the bottom.gfm_auto_identifiers
: Uses GitHub’s heading-ID algorithm: spaces → dashes, lowercase, removes punctuation.pipe_tables
: Enables table.raw_html
: Raw HTML is unchanged.strikeout
: Enables strikethrough with ~~text~~
.task_lists
: Parses - [ ]
and - [x]
items as checkboxes.yaml_metadata_block
: YAML front matter for document metadata, e.g. <title>
ascii_identifiers
: Strips accents/non-Latin letters in automatically generated IDs.bracketed_spans
: [Warning]{.alert}
becomes <span class="alert">
definition_lists
: Term\n: Definition text
becomes a definition listfenced_divs
: ::: {.note}
block creates a <div class="note">...</div>
implicit_figures
: Standalone images become <figure>
with <figcaption>
.implicit_header_references
: [Section]
is treated as [Section][#section]
raw_attribute
: <b>bold</b>
{=html} is inserted as HTMLsmart
: Converts straight quotes to curly, --
to en-dash, ---
to em-dash, ...
to ellipsis.subscript & superscript
: E.g. H~2~O
and E = mc^2^
#document-conversion
#html
#ai-coding-tools
#github
#html
#markdown
#ai-coding-tools
#automation
#code-agents
#dev
#future
#html
#llm-ops
#markdown
#prompt-engineering
#document-conversion
#html
#markdown
#ai-art
#html
<select>
will soon be very customizable via CSS. Including custom HTML inside options - even SVG. MDN. Edge/Chrome already support it. #future
#html
#html
#speech-to-text
#web-dev
#document-conversion
#html
#markdown
#ai-coding-tools
#code-agents
#dev
#github
#html
#markdown
#prompt-engineering
#web-dev
#html
#markdown
#document-conversion
#html
#web-dev
jq
for HTML. #github
#html
#markdown
#prompt-engineering
#web-dev
#cloud
#html
#server
#web-dev
#html
latexmlmath
converts TeX to MathML.m|math { font-family: "Noto Sans Math", "Noto Sans" }
is a popular OpenType Math font. Browsers default to native fonts: e.g. Cambria Math on windows. Explore at https://fred-wang.github.io/MathFonts/.#document-conversion
#html
#markdown
#web-dev
#future
#html
#prompt-engineering
#ai-coding-tools
#automation
#code-agents
#html
#optimization
#prompt-engineering
#web-dev
gid
to each element.#code-agents
#html
#markdown
#prompt-engineering
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script><script>document.body.innerHTML = marked(document.body.textContent);</script>
. Use for dynamically generated static sites.?format=markdown
vs ?format=html
vs ?format=json
. Use in APIs.Accept
header, serve Markdown or HTML. Send Vary: Accept
to indicate that the response depends on the Accept
header. Use for dynamic web apps.#ai-coding-tools
#github
#html
#markdown
#ai-coding-tools
#html
#web-dev
#chatgpt
#cloud
#github
#hosting
#html
#server
#web-dev
#html
#web-dev
#ai-coding-tools
#code-agents
#document-conversion
#html
#llm-ops
#document-conversion
#github
#html
#markdown
#future
#html
#speech-to-text
#github
#html
#web-dev
#ai-coding-tools
#github
#html
#markdown
#html
#markdown
#web-dev
#html
#web-dev
console.llm()
function, a browser extension is the best way, because some pages have Content-Security-Policy that block eval, form submission, fetch from other domains, and script execution. #html
#llm-ops
#html
#html
<link rel="modulepreload">
lets you load and compile modules early! #future
#html
#prompt-engineering
#document-conversion
#html
#markdown
#future
#html
#web-dev
#future
#html
#prompt-engineering
#web-dev
#future
#html
#markdown
#web-dev
#ai-coding-tools
#github
#html
#web-dev