Code Block File Export v1.0.0
Code Block File Export v1.0.0
Initial release of the Code Block File Export plugin for Obsidian.
Features
- Adds an export button to code blocks in Obsidian notes
- Detects code language automatically from syntax highlighting
- Maps common language identifiers to appropriate file extensions
- Uses browser download functionality for simple file saving
- Generates smart filenames based on code content
- Supports custom language mappings through settings
Settings
- Default file extension: Set the fallback extension when language can't be detected
- Custom language mappings: Define your own language-to-extension mappings using JSON
Release Assets
- main.js
- manifest.json
- styles.css
Compatible with Obsidian 0.15.0 and above.