This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const fs = require('fs'); | |
const path = require('path'); | |
/** | |
* Extracts the first image reference in ![[filename]] format from markdown content | |
* @param {string} content - The markdown content | |
* @returns {string|null} - The extracted filename or null if not found | |
*/ |