Skip to main content
LisibleDocumentation
Live previewer

Reference

Complete reference

Find every frontmatter field, flag, configuration surface, command and generated route.

This page gathers Lisible’s public contract. Previous chapters explain the decisions; this reference lists expected values.

Post frontmatter

FieldTypeDefaultPurpose
titlestring ≤ 70requiredtitle, SEO and lists
descriptionstring ≤ 160requiredsummary and metadata
pubDatedaterequiredsorting and publication
updatedDatedateabsentlatest update
tagsstring[][]filters and related posts
draftbooleanfalseproduction exclusion
coverpath or URLabsentcover image
coverAltstringabsentcover alternative
featuredbooleanfalsehome pinning
seriesstringabsentseries identifier
seriesOrdernumberabsentorder in series
blueskyat:// URIabsentper-post discussion

lisible.config.json

The whole user configuration lives in lisible.config.json at the repository root, validated by shared/config.ts and documented by the JSON schema in docs/lisible.config.schema.json. Every field except variant is optional.

FieldTypePurpose
$schemastringschema path powering editor autocompletion
variantstring, requiredactive variant among the six public ids
site.titlestringsite name in headers, feeds and metadata
site.urlstringcanonical URL with protocol
site.authorstringauthor credited in metadata and JSON-LD
site.accentstringdefault accent color, hex
site.postsPerPagenumberpagination size for lists
site.featuredCountnumberfeatured posts on the home page
site.coverPositionstringdefault cover crop position
social.*stringgithub, bluesky, mastodon, linkedin, email profiles
features.*booleans and objectsthe flags listed below
integrations.webmentions.domainstringwebmention.io domain
integrations.comments.providerstringgiscus or bluesky
integrations.comments.giscusobjectrepo, repoId, category, categoryId, mapping
integrations.comments.blueskyobjectdefault postUri
repo.url, repo.branchstringrepository behind edit links

Feature flags

Flags live in the features object of lisible.config.json. A disabled feature leaves no trace in the built output.

FlagMain effect
calloutsnote/tip/warning/caution/important directives
mdxComponentsTabs, Steps and Spoiler
imageZoomfull-screen image viewer
headingAnchorscopyable h2 to h4 anchors
relatedPostsrecommendations by tag similarity
mathremark-math and KaTeX
mermaidinteractive diagrams with zoom, pan and full screen
drawiodraw.io viewer with zoom, pan and full screen
ogPerPostOG image per post and locale
llmsTxtindex, corpus and exported Markdown
aiButtonscopy Markdown and open AI-assisted reading actions
socialSharesharing intents
styledRssfeed XSL stylesheet
webmentionswebmention.io reactions
commentsGiscus or Bluesky
demoPlaceholderslocal preview of comments, social profiles and webmentions
newPostClipost scaffolder
linkChecklink validation
coverscover display
pinnedraise featured posts
paginationpaginated routes and pageSize
archivespublication timeline
seriesseries pages and navigation
commandPalettesearch and Ctrl/Cmd+K actions
portfolioenabled, certifications and friends showcase toggles

The shared Tree component is imported directly from @shared/components/ui/file-tree and has no separate feature flag.

French and English routes

FrenchEnglish
//en/
/about/en/about
/blog/en/blog
/blog/<page>/en/blog/<page>
/blog/<slug>/en/blog/<slug>
/blog/<slug>.md/en/blog/<slug>.md
/tags/en/tags
/tags/<tag>/en/tags/<tag>
/tags/<tag>/<page>/en/tags/<tag>/<page>
/archives/en/archives
/archives/<page>/en/archives/<page>
/series/en/series
/series/<slug>/en/series/<slug>
/rss.xml/en/rss.xml

Global routes: /sitemap-index.xml, /robots.txt, /llms.txt, /llms-full.txt, /og/... and /pagefind/....

Organique showcase routes

FrenchEnglishScope
/certifications/en/certificationsfictional badges and the shared three-post certification series
/friends/en/friendslocal demo blogroll

These two pairs are additive Organique demonstrations, not shared baseline routes. They must remain bilingual and must not be assumed available after switching to another variant.

Root commands

init guided setup
dev active variant server
build active variant build
preview active build preview
variant print the variant
preview:all install, build and serve all six variants
new-post create MDX by default, or Markdown on request
check-links validate content links
check-assets apply asset budgets
check-variants full validation of the named variants
check:all style, conformance, typecheck, build and output checks, all seven variants
typecheck astro check across the seven variants
test unit tests for the shared helpers
test:e2e Playwright suite against built variants
lint Biome lint and format check
format apply Biome formatting
check-style no long dashes, no emoji in documentation
check-drift compare built HTML with the saved baseline
sync-og-assets regenerate the shared Open Graph assets
check-og-assets verify the Open Graph assets are in sync
check-og-output validate the generated Open Graph images

Astro references

Documentation maintained with LisibleEdit this page ↗

Actions

Search for an API, a command or a concept.