rubymaniac / vscode-html-to-elm Goto Github PK
View Code? Open in Web Editor NEWConvert HTML to Elm code for Visual Studio Code
License: MIT License
Convert HTML to Elm code for Visual Studio Code
License: MIT License
Insignificant white space is retained in conversion which makes it difficult to use for large amounts of HTML as it requires a lot of hand adjustment.
I'm using version 0.0.2 and VSCode version information below.
Version 1.12.2
Commit 19222cdc84ce72202478ba1cec5cb557b71163de
Date 2017-05-10T13:20:36.315Z
Shell 1.6.6
Renderer 56.0.2924.87
Node 7.4.0
While playing around with converting the HTML from this medium article I ran across the case where some HTML is not being converted to Elm properly. I haven't been able to experiment yet with whether this is related to the seemingly non-standard t
tag, comments, or the self closing <br/>
tag or something else but it looks like the br
is missing a the following comma.
<p><t>Bachelor of Awesomeness</t><br/>
University of Maryland
<!--<br/><i>Extra info here</i>-->
</p>
p []
[ t []
[ text "Bachelor of Awesomeness" ]
, br [] []
, text "University of Maryland"
]
p []
[ t []
[ text "Bachelor of Awesomeness" ]
, br []
[] text "University of Maryland"
]
Extension version: 0.0.2
VSCode
Version 1.12.2
Commit 19222cdc84ce72202478ba1cec5cb557b71163de
Date 2017-05-10T13:20:36.315Z
Shell 1.6.6
Renderer 56.0.2924.87
Node 7.4.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.