

GitHub - alfonsogarciacaro/vscode-template-fsharp-highlight: Highlight HTML/CSS/...
source link: https://github.com/alfonsogarciacaro/vscode-template-fsharp-highlight
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Syntax highlighting for template strings in F#
VS Code extension that highlights HTML in F# interpolated strings with the following format.
html $"""<h1>Hello World!</h1>"""
You need to declare the html/svg/sql
functions by yourself. If you need to do some transformation, make a function accepting FormattableString
:
let sql (s: FormattableString) = ...
If you just want to trigger highlighting, use an identity function:
let svg (s: string) = s
Recommend
-
10
Member Krzysztof-Cieslak commented
-
11
Feliz.Snabbdom Use Snabbdom in Fable/Elmish apps with a Feliz-like API (see differences with Feliz), as an alternative...
-
7
Don’t miss what’s happeningPeople on Twitter are the first to know.
-
23
Conversation#fsharp folk, I have approved this F# library suggestion. Would anyone like to implement and perf test these for FSharp.Core?
-
7
Visual Studio Code>Other>Highlight HTML/SQL templates in F#N...
-
6
Feliz.Engine Feliz.Engine provides an abstract API based on the great work by Zaid Ajaj and contributors with Feliz that can be implemented for different applications using F# to decla...
-
48
Fable.Lit Fable.Lit is a collection of tools to help you write Fable apps by embedding HTML code into your F# code with the power of lit-h...
-
9
Dave Thomas on Twitter: "Myriad now has a plugin/generator dotnet template: dotnet new --install Myriad.Templates::0.6.0 #fsharp #metaprogrammingclub"Don’t miss what’s happeningPeople on Twitter are the first to know.
-
9
F# and Fable (3 Part Series) And the more F# the better! We're back with yet another way of doing Web Standards HTML... While I've
-
9
Issues · ionide/ionide-vscode-fsharp · GitHub Clear current search query, filters, and sorts Author...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK