embedme
embedme copied to clipboard
Something Wrong a comment start with // in code block
if code block with comment start with // nothing writing into markdown, after Embedded xx lines from file
TEST.md#L420-L427 No comment detected in first line for block with extension go
TEST.md#L437-L446 No comment detected in first line for block with extension go
TEST.md#L460-L474 Unsupported file extension [go ], supported extensions are txt, ts, js, re, scss, rust, java, cpp, c, html, xml, md, yaml, json, json5, py, bash, sh, go, objectivec, php, cs, swift, rb, kotlin, scala, cr, puml, mermaid, cmake, proto, sql, hs, ino, jsx, tsx, skipping code block
TEST.md#L482-L496 No comment detected in first line for block with extension go
TEST.md#L514-L527 No comment detected in first line for block with extension go
TEST.md#L537-L582 Embedded 42 lines from file ../GoProject/src/go_code/chapter03/floatdemo08/main.go
TEST.md#L588-L633 Embedded 42 lines from file /Users/jayli/Desktop/Golang/GolangPlayground/GoProject/src/go_code/chapter03/floatdemo08/main.go
I'm not sure I follow you here, can you share the snippet of markdown that is causing this issue and which line it is in your TEST.md
file so I can correlate with the log lines you've shared?
Hi Zak Henry :
I already find the BUG, when I write //some comment
in first line, the code won't writing anyway.
The first code block make the second code block not update.
I can fix with make the first code block start with a empty line.
Example:
first
var a int = 10 //this is a comment
second
// xxx a file path
And thanks you HARD WORK, it made me work easiler. Jay.
From: Zak Henry @.> Sent: Sunday, April 16, 2023 9:20 PM To: zakhenry/embedme @.> Cc: mlbjay @.>; Author @.> Subject: Re: [zakhenry/embedme] Something Wrong a comment start with // in code block (Issue #101)
I'm not sure I follow you here, can you share the snippet of markdown that is causing this issue and which line it is in your TEST.md file so I can correlate with the log lines you've shared?
― Reply to this email directly, view it on GitHubhttps://github.com/zakhenry/embedme/issues/101#issuecomment-1510490610, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIDLWBSOZCHF7EYDSJIBARDXBRPANANCNFSM6AAAAAAW7JFIE4. You are receiving this because you authored the thread.Message ID: @.***>