Comments on: Building SIML: A new markup language https://j11y.io/css/building-siml-a-new-markup-language/ Sun, 22 Mar 2015 15:39:22 +0000 hourly 1 https://wordpress.org/?v=5.0.13 By: Tom Kenny https://j11y.io/css/building-siml-a-new-markup-language/#comment-2597 Mon, 15 Apr 2013 12:54:20 +0000 https://j11y.io/?p=2210#comment-2597 This is brilliant and I can’t wait for it to wholesale replace the manual writing of HTML.

]]>
By: James https://j11y.io/css/building-siml-a-new-markup-language/#comment-2596 Mon, 18 Mar 2013 13:19:20 +0000 https://j11y.io/?p=2210#comment-2596 @peter — I hope I’m brave enough! I think that’s definitely the next challenge.

]]>
By: Peter van der Zee https://j11y.io/css/building-siml-a-new-markup-language/#comment-2595 Mon, 18 Mar 2013 13:11:01 +0000 https://j11y.io/?p=2210#comment-2595 Welcome to the wonderful world of parsing. Hope you have a pleasant stay 😉 Next stop: writing the parser yourself.

😀

]]>
By: Ricardo Rodrigues https://j11y.io/css/building-siml-a-new-markup-language/#comment-2594 Mon, 18 Mar 2013 11:06:24 +0000 https://j11y.io/?p=2210#comment-2594 The HTML I put in my comment was obliterated and I couldn’t edit my comment, two good features you could add here 🙂
No, in this case it’s really called zen coding, at least in Visual Studio that’s what they’re calling it, and since on that one I don’t see VS in the supported list, I don’t think it’s the same, even though it looks very similar!

]]>
By: James https://j11y.io/css/building-siml-a-new-markup-language/#comment-2593 Mon, 18 Mar 2013 08:01:52 +0000 https://j11y.io/?p=2210#comment-2593 @Ricardo, Yup, Zen coding’s pretty cool. Isn’t it now called Emmet though? – http://docs.emmet.io/

]]>
By: Ricardo Rodrigues https://j11y.io/css/building-siml-a-new-markup-language/#comment-2592 Sun, 17 Mar 2013 23:13:20 +0000 https://j11y.io/?p=2210#comment-2592 It’s a quite entertaining/educational experience, even though there are some good options out there, like the already mentioned jade, and also zen coding, which has been out there for a while and now it’s even available within Visual Studio 2012 with its latest official update. The latter allows stuff like this:

div#myId>select>option[value=someValue]*5>lorem

generate:

Lorem ipsum dolor sit amet, consectetur adipiscing elit fusce vel sapien elit in malesuada semper mi, id sollicitudin urna fermentum ut fusce varius nisl ac ipsum gravida vel pretium tellus.
Tincidunt integer eu augue augue nunc elit dolor, luctus placerat scelerisque euismod, iaculis eu lacus nunc mi elit, vehicula ut laoreet ac, aliquam sit amet justo nunc tempor, metus vel.
Placerat suscipit, orci nisl iaculis eros, a tincidunt nisi odio eget lorem nulla condimentum tempor mattis ut vitae feugiat augue cras ut metus a risus iaculis scelerisque eu ac ante.
Fusce non varius purus aenean nec magna felis fusce vestibulum velit mollis odio sollicitudin lacinia aliquam posuere, sapien elementum lobortis tincidunt, turpis dui ornare nisl, sollicitudin interdum turpis nunc eget.
Sem nulla eu ultricies orci praesent id augue nec lorem pretium congue sit amet ac nunc fusce iaculis lorem eu diam hendrerit at mattis purus dignissim vivamus mauris tellus, fringilla.

And this is just the tip of the iceberg

]]>
By: James https://j11y.io/css/building-siml-a-new-markup-language/#comment-2591 Sun, 17 Mar 2013 22:50:39 +0000 https://j11y.io/?p=2210#comment-2591 @Lars, Yeh I found Jade a few days after starting work on this — and I do like it. It’s concise and expressive. I did find some of the notation to be quite alien to me though (although thankfully less alien than HAML). What I originally wanted for SIML was something that anyone familiar with CSS (and maybe SASS) could pick up quite quickly.

]]>
By: Lars https://j11y.io/css/building-siml-a-new-markup-language/#comment-2590 Sun, 17 Mar 2013 22:45:00 +0000 https://j11y.io/?p=2210#comment-2590 Looks promising! Currently I’m using jade (http://jade-lang.com/) for that purpose.. Do you know it?

]]>