Skip to main content
Background Image
  1. Presentations/

Markdown Madness: Static Sites for Fun & Profit

Markdown Madness
#

Static Sites for Fun & Profit
#

Gilbert Sanchez @HeyItsGilbert


Agenda
#

  • Markup? Markdown?
  • Static Sites
  • Tools
  • Demos
  • Q&A

Thanks
#


Hey! It’s Gilbert
#

bg right


But First… A Warning
#

This talk is mostly about markdown… but anything goes when it comes to static generation!
#


What is Markdown?
#

A lightweight markup language for easily formatting text.
#


What is Markdown?
#

A lightweight markup language for easily formatting text.

  • Markdown (md)
  • Asciidoc (adoc)
  • reStructuredText (reST)

you think thats ppt you’re watching?

You think this is PowerPoint you’re watching?


Flavor Examples
#

  • Strikethroughs
  • Footnotes [^1]
  • ^Superscript
  • Tables
  • Math
  • Mermaid
  • Task List
[^1]: Give 5 stars

bg contain


Hello world time
#

# Hello

Hello world!

## Turtles

I *like* them!

Hello

Hello world!

Turtles

I like them!


Front Matter
#

Front matter is YAML provides metadata or configuration.

---
title: Hello
---
# Hello

Hello world!

Static Sites
#

Static sites are:

  1. CLI-generated
  2. Output as HTML
  3. No runtime server.

Jekyll
#

bg right:35% contain

  • Written in Ruby
  • Great for docs and blogs
  • GitHub Pages built-in support
  • Liquid templating
  • Mature ecosystem with many themes

MkDocs
#

bg left:35% contain

  • Written in Python
  • Purpose-built for documentation
  • Material for MkDocs theme is excellent
  • Simple mkdocs.yml configuration
  • Live reload dev server

Hugo
#

bg right:40% contain

  • Written in Go
  • Blazingly fast builds
  • Docs, blogs, portfolios, and more
  • Powerful templating and shortcodes
  • Single binary, no dependencies

Docusaurus
#

bg left:35% contain

  • Written in React
  • Built for documentation sites
  • MDX support (Markdown + JSX)
  • Versioned docs out of the box
  • Built-in search and i18n

VSCode Extensions
#

  • GitHub Markdown Preview
  • markdownlint
  • Reflow Markdown
  • Markdown All in One
  • Marp for VS Code

FrontMatter CMS
#

VSCode Extension to punches above it’s weight class.

screenshot of frontmatter CMS


Tools
#

  • markdownlint: Markdown best practices.
  • Vale: Prose syntax.
  • alex: Catch insensitive writing.
  • Docker: Run in a container.

Maybe Your Favorite LLM?


Deploying Services
#

  • GitHub Pages
  • Netlify
  • Cloudflare
  • Vercel
  • So many more…

Demo Time
#


THANK YOU
#

Feedback is a gift
#

Please review this session via the mobile app

Questions? Find me @heyitsgilbert

Gilbert Sanchez
Author
Gilbert Sanchez
Not just good. Good enough.

Related

From Burnout To Built-To-Last: The Open Source Org Advantage
Passion doesn’t scale. Learn how running your open source project as an organization prevents burnout, spreads responsibility, and unlocks a treasure chest of free tools and services for FOSS projects.
Stop Hand-Rolling Chocolate: Automating Chocolatey with psake
Your Chocolatey package pipeline shouldn’t live in someone’s head. Learn how to automate Chocolatey packaging with psake — declared tasks, Pester tests, and CI/CD that runs identically locally and in GitHub Actions.
¿No Habla Inglés?: PowerShell Localization in Practice
·1615 words·8 mins
PowerShell is global, but not everyone works in English. Let’s look at how localization works, how you can add it to your modules, and how to make it easy for your community to contribute translations
Beyond Regex: Advanced PowerShell Code Analysis with ASTs
·1573 words·8 mins
In this post I’ll be walking through an example of a (silly) request you might see at work and show you how you can leverage AST’s to update your codebase.
Sharing Your Custom PSScriptAnalyzer Rules
·467 words·3 mins
Learn how using a simple “proxy” module, will allow you to use custom PSScriptAnalyzer rules in all your repositories!
How to Use Obsidian for ADHD: Productivity System with PowerShell
·1356 words·7 mins
Alleviating my ADHD headaches with Obsidian. Periodic Notes and Templater extensions save the day by reminding me of the next step towards my larger goals.