zakhenry / embedme

Utility for embedding code snippets into markdown documents
MIT License
229 stars 38 forks source link

No comment detected in first line for block with extension #97

Closed DGrv closed 1 year ago

DGrv commented 1 year ago

Hi,

Can you help me on this I do not get the problem actually !

No comment detected in first line for block with extension

npx embedme Code.md

Embedding...
  Analysing Code.md...
   Code.md#L3-L6 No comment detected in first line for block with extension sh
  No changes to write for Code.md

The file Code.md Code.md or

jkhaskjdhkjhkjasd

```sh
//Dowload_Youtube-dl.sh

```

and the embed code :

echo hello world

Thanks

DGrv commented 1 year ago

Mmmmmm I found the error sorry. I needed to use # instead of //. Or even better use a space after //

    jkhaskjdhkjhkjasd

    ```sh 
    // Dowload_Youtube-dl.sh
jkhaskjdhkjhkjasd

```sh 
#Dowload_Youtube-dl.sh
```