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

C# Version 6.0 supported ? #267

Open
ghost opened this issue Aug 14, 2017 · 4 comments
Open

C# Version 6.0 supported ? #267

ghost opened this issue Aug 14, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 14, 2017

Does markdown2 support the following C# 6.0 syntax?

int a = 0;
int b = 0;

string testString = $"{a}: {b}";

for some reason the $ is comming out with an err class:
<span class="err">$</span>

@ghost ghost changed the title C# Version 6.0 supported C# Version 6.0 supported ? Aug 14, 2017
@ghost
Copy link
Author

ghost commented Aug 16, 2017

@nicholasserra

@nicholasserra
Copy link
Collaborator

Do you have this wrapped in a fenced code block, and the fenced code blocks extra on?

@ghost
Copy link
Author

ghost commented Aug 16, 2017

yea, including the cs language after the 3 backticks. the rest of the code comes out fine and has syntax highlighting. It just doens't seem to like the $.

@nicholasserra
Copy link
Collaborator

Weird. I wouldn't expect anything to be parsed inside that block. Sounds like a bug and an edge case.

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

1 participant