zakhenry / embedme

Utility for embedding code snippets into markdown documents
MIT License
230 stars 37 forks source link

When the file trying to embed starts with 2 white spaces it won't embed the content #74

Open cristian-popa opened 3 years ago

cristian-popa commented 3 years ago

I had some sql files that were copied from a database tool that needed embedding. I did not know why it would not embed the content for some of these, I'd get this warning: "Changes are trailing whitespace only, ignoring" . As soon as I removed the 2 heading white spaces(or tab) from the beginning of the first line of the SQL file it embed generate my code.