Textmate HTML 5 Syntax Highlighting - html

I'm using Textmate for web development and ran into the problem that the standard HTML syntax highlighting, but also the HTML (Rails) syntax highlighting does not work well with the new "unqoted" HTML 5 syntax.
Is there a way to make the HTML 5 syntax highlighting work again, even without quotes? Does anyone know a Textmate Bundle that reenables the correct syntax highlighting?
Thanks in advance!

Have you tried this?
https://github.com/drnic/html-tmbundle
There are many others on github as well.

Related

Rouge Syntax Highlighting in GitHub Pages

I have been using Rouge and Kramdown to properly format syntax since I've been using Jekyll. I haven't looked in awhile, but recently noticed that the syntax highlighting doesn't appear to be working properly. I noticed that the change broke when GitHub pages started supporting Jekyll 3.9 (was 3.8.5 for the longest time) and the latest version of Rouge. Anyone else find a solution to this? It appears to be broken on many sites that use GitHub Pages and I cannot find a site where it's working.
Here is a URL that does not work: https://www.jasongaylord.com/blog/embed-javascript-in-custom-aspnet-server-controls
The URL in question that is supposed to show syntax highlighting not working, does in fact appear to have syntax highlighting working correctly.
Section of your site with syntax highlighting, highlighted by Chrome dev tools. Shows syntax highlighting CSS class provided by Rouge and data-lang attribute

Copying text with Syntax Coloring from Notepad++ to HTML

I know about Plugins/NppExport section in Notepad++. It completely works for copying from NP++ to Word Documents and somewhere else like it.
But how about to a HTML page? I want to show some code examples on my page with syntax highlighting. If possible, directly from NP++ a way that codes can be copied.
edit: Thanks everybody, I have found it. If someone else needs: https://highlightjs.org/usage/
You can use highlight js which very easy and compatible with syntax highlighter for many languages.
Download here
You just have to use like
<pre><code class="html">your html content goes here</code></pre>`

how to get html/css snipits in backticks when using typescript for AngularJS

i know this might kind of sound dumb but whenever i write templates in Angular 2 my html just shows up as gray text and i cant do things like autocomplete and stuff. Same issue with the CSS
Is there a plugin to solve this or is this a settings issue?
BTW im using Visual studio code
EDIT: Screenshot
There is a plugin that will add this highlighting:
https://marketplace.visualstudio.com/items?itemName=nwallace.language-vscode-javascript-angular2
Appears from the comments it doesn't actually support intellisense/completion in there but has syntax highlighting. Personally use IntelliJ products for a lot of projects and they have a "language injections" option: https://www.jetbrains.com/help/idea/2016.2/using-language-injections.html Perhaps Visual Studio has something similar or you can try out IntelliJ.
Have you configured Angular Js 2 and TypeScript correctly in Visual Studio Code?
Here's a link link for that.

Syntax highlighter doesn't work in blog feeds and mobile version

I have been using syntax highlighter for my blogs which are hosted on Blogger.com, but recently I noticed that the code which has been highlighted by syntax highlighter doesn't appear on blog's feed and on mobile version. I tried to search over internet but couldn't find any useful information. I am novice to blogger/javascript and couldn't figure out why I am not able to see the formatted code.
Any kind of information will be appreciated here.
After a bit of research I found prettyprint syntax highlighter, which is also being used on Google website e.g developer.android.com.
I liked this its really easy to use and light weight.
Steps to inetgrate is shown in prettify syntax highlighter blogs.

Using syntax highlighter with Tumblr

I'm trying to use Syntax Highlighter with my blog at http://a.shinynew.me. This is a tumblog.
I cannot seem to get it to work. I have followed his basic instructions for installation using the CDN hosted versions, but nothing happens on the page and nothing gets thrown in either firebug or chrome dev tools. All referenced resources are loaded.
I was hoping someone could clue me in to how to use Syntax Highlighter with Tumblr, and if not, what a suitable alternative might be.
I'm going to switch the answer on this to a better answer which is Gist from GitHub. Embeds perfectly with beautiful syntax highlighting and minimal markup.
https://gist.github.com/
Try this.