Convenience function for moving a single markdown file
The current file path
The target file path
Optional configuration
Promise resolving to operation result
import { moveFile } from 'markmv'; const result = await moveFile('docs/old.md', 'docs/new.md', { dryRun: true }); Copy
import { moveFile } from 'markmv'; const result = await moveFile('docs/old.md', 'docs/new.md', { dryRun: true });
Convenience function for moving a single markdown file