GithubHelp home page GithubHelp logo

htmlforjavascript's Introduction

HTML for JavaScript

Build status

Colorizes HTML strings inside JavaScript and TypeScript. Works great for embedding HTML inside your script files.

Download this extension from the CI build.


An updated version of Html Syntax Highlighter for JS String extension by AvoBright with support for Visual Studio 2019.

Colorizes HTML strings inside JavaScript and TypeScript. Works great for embedding HTML inside your script files.

Screenshot

License

Apache 2.0

htmlforjavascript's People

Contributors

madskristensen avatar cordeiro-rubens avatar

Stargazers

John Hook avatar Joshua Hubanks avatar  avatar Heriberto Lugo avatar Franck Gaspoz avatar Javier Cañon avatar  avatar Shmueli Englard avatar Jordy Hulck avatar Kadir Avcı avatar SondreB avatar

Watchers

James Cloos avatar  avatar Tony Gray avatar  avatar

htmlforjavascript's Issues

Can't install to VS2019 nor VS2022

Describe the bug
For those of you who are not able to install this extension to VS2019 nor VS2022, here's two options

To Reproduce

  1. Download the source code
    open it on your VS copy
    modify the manifest file and change the Prerequisite for 'Microsoft.VisualStudio.Component.CoreEditor' from 16.0, to 16.0,18.0
    change the product version from 1.0 to 1.0.10 at least (this is to avoid VS Extension Manager to notify of new version online)
    save the manifest file and compile the solution.
    close VS
    open Windows Explorer and navigate to the folder where you save the solution and look for src\bin\Debug folder
    run the VSIX file and follow the on-screen instructions
    Enjoy!!!!

  2. Download the .zip file attached to this, decompress it and run the VSIX file to install
    Enjot!!!

Additional context
HtmlForJavascript.zip

All credits goes to Mads.

Cannot install in VS 2022 Preview

This is an expansion on #5. While the changes made in resolving that issue went toward fixing it, there were a couple files missed. If you make the same changes to catalog.json line 14 and manifest.json line 27, it will install successfully on VS 2022 Preview.

Cannot install in VS2022 Preview 2

When I try to install it from Extension Manager I get this error:

This extension cannot be installed because the following references are missing:

  • Microsoft.VisualStudio.Component.CoreEditor

I have VS2022 installed side by side with VS2019

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.