by SwellJoe · 8y ago · 0 comments
This seems to have the negatives of both Markdown and HTML, and no unique advantages over either. It's a little less verbose than HTML, but you have to know HTML tags (and Sundown syntax) to use it, and I have my doubts it can avoid the quirks Markdown has because converting any "friendly" markup to a formal syntax like HTML is always prone to quirks. It has the alleged advantage over Markdown of being able to use HTML and Sundown together...but, some Markdown processors also allow mixing MD and HTML, so this is not a unique benefit (this is quirky in Markdown, but I suspect it's quirky in Sundown, too).
Maybe I'm missing the benefit here, but it seems like a technical solution to a people problem, and that almost never works.
Also, as an aside, it's got the same name as a Markdown processor that is even mentioned in the article! That seems bound to cause confusion, given the similarities in purpose.
> Maybe I'm missing the benefit here
Sundown is useful because it lets you abstract your custom server-side HTML tags. In other words, you can extend the language very easily.
For example, you can create a tag called "note" and use that instead of repeating HTLM, CSS and even JS:
<s:tag name="note">
<div style="color:red;">
Note: {{@content}}!!
</div>
</s:tag>
And then call your new tag using the HTML syntax or Sundown: <note>Sundown is awesome ;)</note>
:note Sundown is awesome :)
Result: <div style="color:red">Note: Sundown is awesome :)!!</div>
Sundown is just an HTML preprocessor (like Markdown) once it is transformed to HTML it's the SunSed language that compiles all the custom HTML tags to executable format.Feels kind of like Sundown:HTML::SCSS:CSS. If you can communicate this (vs being an improvement on markdown), you'll probably get people to take a closer look.
Sundown and Markdown are both HTML preprocessors with different goals.
I feel like this is more much comparable to, as others note, something like Jade/Pug, than Markdown. And, it may be a very good competitor to those sorts of tools, I dunno.
Seems like Sundown is a programmers tool; Markdown is an end user tool (often used by programmers in contexts where they don't want to program, like commenting on forums and tickets and such). But, I guess they are all just taking some sort of input and spitting out some HTML. It just seems like Markdown isn't the right thing to compare it to.
So it's XML and XSL.
I actually bench marked all of the Markdown implementatinos back in 2016 (or early 2017). https://github.com/vmg/sundown was by far the fastest!
Aside from the difference in syntax (which is huge), I would say convenience.
SunSed = Hosting + IDE + CDN + a new programming language + Layout and Template system (like Jekyll and Hugo) + Many built-in tags to abstract things like embedding Youtube videos in a responsive way (which is not easy -- requires so many div wrappers).
You can also create your own tags and share it with others. I have started the process of creating tags for useful and popular libraries:
If you know HTML, you already know the syntax of SunSed programming language, and can create fast dynamic websites with ease by abstracting your website content in custom HTML tags!
After all, SunSed is a programmable website builder.