ryanpcmcquen / workflowyCodeFormatter

:hourglass_flowing_sand: A simple and lightweight solution to the WorkFlowy code dilemma. | https://addons.mozilla.org/en-US/firefox/addon/workflowy-code-formatter/ | https://chrome.google.com/webstore/detail/workflowy-code-formatter/kglihipcanlbglgikjghocmbbbbkfemn
Mozilla Public License 2.0
39 stars 6 forks source link

Specified language not being detected. #9

Closed aneuhold closed 6 years ago

aneuhold commented 6 years ago

It seems that using 3 backticks isn't working for some reason. I can't seem to find out why. I don't have too much experience with front end development so sorry I can't be of more help in deducing what is happening here. 1 backtick works fine, but the 3 ticks with language specific formatting would be very awesome to have.

Here is a screenshot of what happens when attempting to use the 3 back ticks in a note on workflowy: capture

All extensions have been disabled, and so has extra css formatting in attempts at troubleshooting this. This is on chrome 65.0.3325.181.

ryanpcmcquen commented 6 years ago

@aneuhold, that looks like syntax highlighting with a monospaced font to me ...

aneuhold commented 6 years ago

@ryanpcmcquen , Yes lol that seems to be correct. The single back ticks are working correctly. This is HTML code with the HTML identifier after the first three backticks but it is being formatted like JavaScript.

aneuhold commented 6 years ago

Do the 3 backticks work for you currently @ryanpcmcquen? Here is what is going on in that exact space on the page: capture

ryanpcmcquen commented 6 years ago

I've reproduced the problem and am working on a fix.

aneuhold commented 6 years ago

Thank you!!

ryanpcmcquen commented 6 years ago

@aneuhold, 0.4.3 is out, would you mind updating to see if it resolves the issue?

aneuhold commented 6 years ago

Just tried to update, haven't had enough time to see how to fix the issue yet, but this is whats coming up after trying to install the extension: image Chrome 65.0.3325.181 on MacOS Sierra 10.12.6

ryanpcmcquen commented 6 years ago

Darnit, I forgot to include the assets, will fix that in a minute.

ryanpcmcquen commented 6 years ago

OK, 0.4.4 has uploaded and should be available soon. Sorry for the trouble.

aneuhold commented 6 years ago

No problem at all man, this extension is free and it takes time to program these things. Thank you so much for the support!

aneuhold commented 6 years ago

It seems to be working now. Thank you!

ryanpcmcquen commented 6 years ago

Woot! Thanks for following up @aneuhold!