Skip to content

Add per-page meta tags from markdown shorthand#16

Closed
jottenlips wants to merge 1 commit into
mainfrom
feature/meta-tags
Closed

Add per-page meta tags from markdown shorthand#16
jottenlips wants to merge 1 commit into
mainfrom
feature/meta-tags

Conversation

@jottenlips
Copy link
Copy Markdown
Owner

Summary

  • Add @title, @description, @image shorthand notation at the top of markdown files to generate per-page OG and Twitter meta tags
  • Fallback chain: shorthand values → first heading/paragraph/image in markdown → base template defaults
  • Bump version to 0.2.1

Test plan

  • dune build compiles cleanly
  • Full shorthand file: all three @ directives produce correct meta tags, lines stripped from body
  • No shorthand file: falls back to first heading + base title, first paragraph, first image
  • Partial shorthand file: explicit @title used, description falls back to first paragraph, no image omits og:image

🤖 Generated with Claude Code

Support @title, @description, and @image shorthand at the top of
markdown files to generate OG/Twitter meta tags. Falls back to
first heading, paragraph, and image when shorthand is omitted.
Bump version to 0.2.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jottenlips jottenlips closed this Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant