Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
# This site requires Ruby 3.3.6 # Switch to Ruby 3.3.6 if using RVM rvm use 3.3.6 # Install dependencies bundle install # Start development server bundle exec middleman server # Build the site bundle exec middleman build
The site appears to be configured for static deployment (build output goes to
/build directory).
This is a simple personal bio site built with Middleman, a Ruby-based static site generator.
IMPORTANT: Always follow Middleman conventions and project structure. New files should fit within the existing Middleman architecture (layouts in
, etc.).source/layouts/
source/ - All source content and templates
index.html.erb - Main page content with frontmatter (title, description, keywords)layouts/layout.erb - HTML layout template with meta tags and OpenGraph propertiesstylesheets/site.css.scss - Sass stylesheet with custom stylingjavascripts/site.js - JavaScript (minimal)images/ - Static imagesconfig.rb - Middleman configuration with autoprefixerGemfile - Ruby dependencies (Middleman 4.4.2, autoprefixer, haml)The main bio content is in
source/index.html.erb with a "last updated" date that should be manually updated when content changes.
A Ruby script generates HTML email previews from markdown files and can send them to Buttondown.
scripts/preview_email.rb - Main script for generating previews and sending to Buttondownsource/layouts/the-becoming-email.erb - HTML email template (table-based for email client compatibility)source/stylesheets/email.scss - Email-specific stylessource/email_preview.html - Generated preview output (not committed)source/the-becoming/*.html.md - Newsletter content in markdown with frontmatter# Preview locally (presents menu to select a newsletter) ruby scripts/preview_email.rb # Preview a specific file ruby scripts/preview_email.rb source/the-becoming/newsletter-name.html.md # Send to Buttondown as draft ruby scripts/preview_email.rb --send
{: .figcaption}, {: .center})email.scssthe-becoming-email.erb)email_preview.html or sends to Buttondown APIhttps://andreamignolo.com/...) for Buttondown.env file with BUTTONDOWN_API_KEY for sending to Buttondown--send flag creates a draft in Buttondown (does not send to subscribers)When making edits to HTML, CSS, or JavaScript files, always add a comment indicating that the change was made by Claude Code. Use appropriate comment syntax for each file type:
<!-- Added by Claude Code -->/* Added by Claude Code */// Added by Claude CodeAdditionally, add explanatory comments throughout any code you write to help explain what the code does, especially for complex logic or non-obvious implementations.