Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown Not Support? #53

Closed
RocMark opened this issue Mar 22, 2018 · 11 comments
Closed

Markdown Not Support? #53

RocMark opened this issue Mar 22, 2018 · 11 comments

Comments

@RocMark
Copy link

RocMark commented Mar 22, 2018

I'm using this extension with markdown file for months ,
it works great!
but suddenly it didn't work!?
any idea?

@RocMark
Copy link
Author

RocMark commented Mar 22, 2018

I using .vsix file Downgrading to 1.1.0 it works!

@aaron-bond
Copy link
Owner

Hey, this was probably changed by #47

The fix was to not break when showing unsupported types. The fact that markdown has been working is probably just a coincidence.

Can you show me a sample of how you were using comments in Markdown? I didn't think they were supported...

@RocMark
Copy link
Author

RocMark commented Mar 22, 2018

https://github.com/RocMark/MarkDownIssue
here is my repo for the issue with method
I'm not english speaker sorry for my bad english
but i will try my best to explain how i get it work
love this extension ! keep it up

@RocMark
Copy link
Author

RocMark commented Mar 22, 2018

yup i think the unsupported types did'nt add markdown in list , so it makes markdown don't work
My method is quite weird. Its like a hack , but I dont know how this is working LOL

@aaron-bond
Copy link
Owner

Your English is fine :)

I see from this thread that there is no real comment indicator on Markdown: https://stackoverflow.com/q/4823468/1749630

Perhaps I could add support for "[comment]: # ! Important comment" as mentioned there?

@RocMark
Copy link
Author

RocMark commented Mar 23, 2018

yeah there is not comment indicator
i just use this extension for highlighting line when writing my own note
the output of the markdown file with //* will act like plain text
I think I'm the only one use this extension like this XD
thx for reply !!
I'm just a junior web developer really don't know how the extension works sorry about that

@aaron-bond
Copy link
Owner

I'll try adding support for the [comment]: # tag this weekend. I don't think I can add support for // because that's not a recognised comment format for the language, unfortunately. Are you able to update your code to use a different format for the comments?

@RocMark
Copy link
Author

RocMark commented Mar 23, 2018

I'm using this for writing learning note that all
So i dont need it work on markdown output file

testmd

@aaron-bond
Copy link
Owner

I'm going to close this as I haven't found a sensible way to support markdown since it has no actual comment syntax. Sorry. Feel free to contribute if you have any ideas how this could be done :)

@linhtto
Copy link

linhtto commented Aug 30, 2018

@aaron-bond , I think both of the ways mentioned here on how to comment in Markdown work. Maybe you can support both?

Way 1: <!-- COMMENT GOES HERE -->
Way 2: [comment]: # "COMMENT GOES HERE"

In fact, VSCode recognizes Way 1 as a default type of comment, and it even grays it out. Way 2 works too (i.e., it won't show up in the output), but it's not grayed out by VSCode.

@aaron-bond
Copy link
Owner

aaron-bond commented Sep 3, 2018

Duplicated in #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants