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

Uncommenting not working in Chapter 2.12 #34

Closed
Kreeblah opened this issue Sep 10, 2017 · 3 comments
Closed

Uncommenting not working in Chapter 2.12 #34

Kreeblah opened this issue Sep 10, 2017 · 3 comments

Comments

@Kreeblah
Copy link

Kreeblah commented Sep 10, 2017

Maybe I'm doing something wrong here, but uncommenting with Cmd+/ doesn't seem to be working in chapter 2.12. All I'm getting is successive layers of HTML-styled comments.

For example, I go from:

<!-- <li>first list item</li> -->

to:

<!-- <!-- <li>first list item</li> --> -->

And I keep adding further layers of comment tags from there. Should I be doing something else here? I'm running Sublime Text build 3142 on macOS 10.12.6, if it matters.

@assarbad
Copy link

assarbad commented Oct 13, 2017

The same happens on Windows with Ctrl + /, so I guess something has changed in the program or the tutorial is wrong about the shortcut.

An alternative explanation could be some plugins we use, which break the default behavior of ST3.

@jaipandya
Copy link
Owner

jaipandya commented Apr 24, 2020

Seems like HTML text wrapped in a code block (```) behaves in a different way. If you remove the backticks from above and below the code segment, it works as expected. Once fixed, markdown will try to render it as valid HTML, so elsewhere it would create a problem. But I guess, that should be okay.

I've decided to change the HTML syntax to JavaScript. That solves this issue. Look for an update soon.

@jaipandya
Copy link
Owner

This issue was fixed in 8b9a8b5

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