This document describes the standardized format for Today I Learned (TIL) entries to make them both human-readable and machine-parsable for automated tools.
Each TIL entry should follow this structure:
- Start with H1 title
- Include metadata as key-value pairs
- Use standardized sections with H2 headings
- Mark executable code blocks with the "(executable)" tag
# Title of TIL Entry
## Summary
Brief one or two sentence description of what this TIL entry covers.
## Details
Main content of the TIL entry goes here, using standard markdown formatting.
## Install (executable)
```bash
# Installation commands
brew install example# Configuration commands
example --configure setting valueHow to use the tool or command in practice.
## Python Implementation
The accompanying Python tool will:
1. Parse metadata from key-value pairs
2. Extract executable blocks from sections tagged with "(executable)"
3. Build search index on content
4. Provide commands to search, display, and execute configurations
## Validation
A GitHub Action will validate that each TIL entry:
1. Starts with an H1 title
2. Has a Summary section
3. Uses proper markdown formatting
4. Has code blocks with language specifiers