TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Sundown – an alternative to Markdown

121 pointsby ne01over 7 years ago

41 comments

SwellJoeover 7 years ago
I&#x27;m iffy on this kind of thing. Markdown has the advantage of looking roughly like what you&#x27;d do in plain text and is completely readable in plain text with no processing. It also has the advantage of being nearly standard; it is used on thousands of sites, including some very large ones (e.g. reddit, github, etc.). If I wanted my users to memorize HTML tags I would have just gone with HTML.<p>This seems to have the negatives of both Markdown <i>and</i> HTML, and no unique advantages over either. It&#x27;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 &quot;friendly&quot; 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&#x27;s quirky in Sundown, too).<p>Maybe I&#x27;m missing the benefit here, but it seems like a technical solution to a people problem, and that almost never works.<p>Also, as an aside, it&#x27;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.
评论 #16005983 未加载
评论 #16006461 未加载
评论 #16005909 未加载
评论 #16006136 未加载
git-pullover 7 years ago
First off, Good work on your project, Sed!<p>Here are some clickables of SunSed:<p>- <a href="https:&#x2F;&#x2F;www.sunsed.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.sunsed.com&#x2F;</a><p>- <a href="https:&#x2F;&#x2F;www.sunsed.com&#x2F;pricing" rel="nofollow">https:&#x2F;&#x2F;www.sunsed.com&#x2F;pricing</a><p>- <a href="https:&#x2F;&#x2F;www.sunsed.com&#x2F;tags&#x2F;s" rel="nofollow">https:&#x2F;&#x2F;www.sunsed.com&#x2F;tags&#x2F;s</a> A list of builtin tags for Sundown<p>I am fine with a new markup if it&#x27;s quick and to the point. I believe that we need to give the markdown&#x2F;reStructuredText things a fresh look. At the very least, we may come up with ideas to improve existing languages.<p>Are you planning on opening the source to Sundown? What&#x27;s the current implementation running in? (golang, python, c, etc?)<p>Some of the other commenters are mentioning markdown being fast. This is probably true. Since there are processors for markdown in C. Actually, when I first glanced the title, I thought it was <a href="https:&#x2F;&#x2F;github.com&#x2F;vmg&#x2F;sundown" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vmg&#x2F;sundown</a>.<p>In any event, that&#x27;s just a naming issue. The bigger point is, I think the overall project at SunSed looks pretty cool. Simple markup turns into a nice website. Congratulations on having the website up!
评论 #16006480 未加载
tannhaeuserover 7 years ago
Markdown is being critized because it doesn&#x27;t allow markdown syntax within HTML blocks, and because the HTML vocabulary recognized isn&#x27;t customizable. Both problems were basically solved by SGML over 30 years ago.<p>In SGML, you can define arbitrary tokens (character sequences) that the parser replaces into something else, typically into start-element or end-element tags. Replacement text rules are defined in a context-sensitive way depending on the parent element wherein token(s) to replace appear as child content. For example, an asterisk could be mapped to &lt;i&gt;, and within an &lt;i&gt; element could be mapped to &lt;&#x2F;i&gt;, terminating it, and thereby implementing a small fragment of markdown.<p>This, together with tag omission&#x2F;inference rules on a fully custom DTD vocabulary powerful to cover HTML5, gives you quite a formidable technique for markdown customization, based on an ISO standard.
Sir_Cmpwnover 7 years ago
Very poor naming choice. Sundown is the name of a popular Markdown implementation:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;vmg&#x2F;sundown" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vmg&#x2F;sundown</a><p>Strongly suggest renaming your project as early as possible.
评论 #16006198 未加载
评论 #16006433 未加载
jitlover 7 years ago
Here’s the author’s intent with their system:<p>&gt; ... create a platform that makes it super easy for developers to create awesome websites without forcing them to learn new stuff (language, syntax, platform, framework and more)<p>And yet:<p>&gt; I explain what was wrong with Markdown and why I finally had to create my own Markdown alternative<p>I do not think a new, custom HTML template language solves the original goal.
评论 #16006657 未加载
shortformblogover 7 years ago
I think there&#x27;s lots of opportunity for a markdown alternative, but I worry that this starts in the wrong place. It seems like it&#x27;s built around code, whereas Markdown is built around writing.<p>A friend of mine who works at a newspaper noted that it was really hard to get a lot of people in the mindset of Markdown, because it requires users to think about their writing in terms of HTML, which is harder than it sounds for some. This seems like it pushes things further in a direction where people who aren&#x27;t code-savvy can&#x27;t get on board.<p>The other thing to keep in mind: The reason why Markdown is great is because it&#x27;s readable even without being rendered. This is not, because it simplifies the HTML without abstracting it. That&#x27;s a tough hurdle to get past for a lot of folks.
评论 #16006390 未加载
liquidiseover 7 years ago
Great solution. Given the problem statements that lead to this, i was pleasantly surprised by the elegance of the syntax.<p>There are the obvious arguments about plain-text readability and additional standards, I would suggest thinking about this not as a Markdown replacement but rather a different use-case entirely. I understand the author framed it as a replacement. While that may have been the impetus to the project, i think the result is something entirely it&#x27;s own.<p>Markdown has a place when a document stands to be published&#x2F;shared in multiple formats. I use it regularly for blog posts that i also email to others for feedback in plaintext. Sundown looks to me like a light-weight, text-focused haml. Usable when something is intended to only be published in HTML, but where you want to be freed from that markup.
评论 #16006882 未加载
weegoover 7 years ago
The post just seems like a verbose post hoc justification for wanting to reinvent something. Which is fine, a lot of good learning comes out these toy domain languages. I just don&#x27;t see any technical benefits or conceptual leaps here other than to say &quot;I built this&quot;.<p>It&#x27;s like back in the day when someone would proclaim smarty to be a disaster and then release their template system that was conceptually exactly the same baring some syntactic sugar
评论 #16006506 未加载
beefmanover 7 years ago
<a href="https:&#x2F;&#x2F;www.sunsed.com&#x2F;policies&#x2F;until-the-end" rel="nofollow">https:&#x2F;&#x2F;www.sunsed.com&#x2F;policies&#x2F;until-the-end</a><p>&gt; Our promise to you ul.[sic] We are dedicated to supporting our products forever (or until the last customer turns off the lights). ul.[sic] If we create a new version of SunSed that breaks backward compatibility we will support the older version forever. p.[sic]
cyberferretover 7 years ago
Started reading with interest, but then everything started to look really similar to HAML [0] after a bit. With the exception that HAML also lets you add CSS classes to your tags...<p>[0] - <a href="http:&#x2F;&#x2F;haml.info&#x2F;" rel="nofollow">http:&#x2F;&#x2F;haml.info&#x2F;</a>
评论 #16006446 未加载
ktamuraover 7 years ago
As a product marketer, I have to say that the name is very unfortunate.<p>1. Sundown is the name of a Markdown library written in C: <a href="https:&#x2F;&#x2F;github.com&#x2F;vmg&#x2F;sundown" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vmg&#x2F;sundown</a>. <i>That</i> Sundown is pretty widely known and used among Markdown implementers. As such, when&#x2F;if the OP&#x27;s project takes off, it is going to be confusing (for awhile).<p>2. Also, the name itself doesn&#x27;t strongly suggest that it&#x27;s an alternative to Markdown. Do recall that Markdown&#x27;s etymology comes from &quot;(HTML) markup&quot;. For the Markdown-implemented-in-C Sundown, the name worked because it evoked its relationship with Markdown. In this case, that&#x27;s not what the project is about. If the intention was to evoke Markdown, then they should have kept the &quot;Mark&quot; part of it, not the &quot;down&quot; part of it.
评论 #16006673 未加载
danielbankheadover 7 years ago
This looks very promising. While I do not see this as a replacement for Markdown this has some potential for use cases where Markdown is less suitable, like messaging.<p>The explicit use of the colon makes things a bit saner for users - we’ve all written some ‘unexpected’ markdown before; between the many different flavors (especially line breaking behavior), numerous symbols, and numerous ways to do the same thing (like underlining, bullet points and images). I can see this being a big relief for end-users for certain use-cases.<p>I’d love to try it out if I could see some source code (or a live demo I don’t have to sign up for). Do you plan on setting up a specification?
chrisalleyover 7 years ago
&gt; I feel like Jeff Atwood and his friends abandoned the Commonmark project that tried to create a universal specification of Markdown. Even if they did, I don&#x27;t think that Github, Stackoverflow, Reddit and other major Markdown users would ever convert.<p>The CommonMark project has not been abandoned; the CommonMark C parser was implemented on GitHub earlier this year and is used to render Markdown across all repositories: <a href="https:&#x2F;&#x2F;githubengineering.com&#x2F;a-formal-spec-for-github-markdown&#x2F;" rel="nofollow">https:&#x2F;&#x2F;githubengineering.com&#x2F;a-formal-spec-for-github-markd...</a>
评论 #16006921 未加载
reacharavindhover 7 years ago
I really like it. I was just thinking of writing a markdown to custom HTML parser for my own needs and found markdown syntax to be lacking to express my HTML tags. I can choose SunDown format for it.<p>Do you have a parser that converts SunDown to HTML already? I can build it as my first project in Rust while attempting to learn it.
评论 #16006405 未加载
egypturnashover 7 years ago
I don’t think this feels like it’s solving any problems that Markdown isn’t already solving. If I’m reading it right, I have to do all <i>this</i> just for some italics?<p>: There is some &lt;i&gt;italic&lt;&#x2F;i&gt; text in this line.<p>This is seven more characters than the equivalent Markdown! And two more than the equivalent HTML. And includes at <i>least</i> five characters that are a bitch to type on most screen keyboards.
评论 #16006540 未加载
jmullover 7 years ago
This is fine, but isn’t really an alternative to markdown. It’s not good for what markdown is good for, which is writing and reading plain text that can also be transformed to HTML.<p>It looks like it’s an alternate syntax for HTML angle-bracket tags. (Personally, I see no value in that. I can see it’s arguably “cleaner”-looking, but not by much and at the substantial cost of a non-standard syntax.)
corndogeover 7 years ago
It looks like he set out to solve all the problems reStructuredText solved a long long time ago
nsebbanover 7 years ago
I&#x27;m not sure the world needs a new markup syntax, especially an awkward mix of HTML and Markdown. But I could be missing the point, since I just base this on my own needs.<p>But thing is, talking about performance and scale goes exactly against your project&#x27;s credibility. These are pretty much the two dumbest criterias when it comes to markup syntaxes.
geraldbauerover 7 years ago
FYI: I&#x27;ve started work on an alternative to markdown called texti (text with instructions). It&#x27;s really more of an evolution e.g. some deletions, some additions, some changes. See some examples at the project site - <a href="https:&#x2F;&#x2F;texti.github.io" rel="nofollow">https:&#x2F;&#x2F;texti.github.io</a>
评论 #16007071 未加载
tazardover 7 years ago
Seems closer to Pug with :colons than an alternative to markdown to me. Looks like an interesting project though!
muzaniover 7 years ago
I really like this. Might use this for my blog as HTML disrupted the flow of typing and yet I couldn&#x27;t find a satisfactory way to do it with Markdown.
norswapover 7 years ago
Just because <i>someone</i> is going to link it, I might as well do it first: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;927&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;927&#x2F;</a><p>But yeah, &quot;Too many implementations of Markdown&quot; is not an issue a new markup language is going to solve.<p>&quot;Markdown is slow!&quot; is nonsensical: its implementations are slow (it seems the author tested this, but the link supposed to supply evidence doesn&#x27;t -- I find it hard to believe that aren&#x27;t fast implementations of Markdown, but <i>perhaps</i>). Nothing in the language makes it inherently slow.
评论 #16005914 未加载
评论 #16006001 未加载
rmrfrmrfover 7 years ago
The HTML part of this spec is strange. Most of the practical point of markdown has been to allow a limited set of user-controlled formatting without requiring an HTML parser in the browser. Furthermore, HTML has non-significant whitespace whereas markdown does, so mixing the two will give weird results.
desireco42over 7 years ago
I like sundown a lot and see how it is better then markdown. It is very bold and smart reimagining of plain text enriched by tags.<p>It has a long road ahead, most likely will fizzle but that doesn&#x27;t mean we can&#x27;t use it.
hashharover 7 years ago
This doesn&#x27;t seem to solve any issues that markdown has and also fails to see how fast most modern Markdown implementations are. Using an unmaintaned 5 year old perl script for benchmarking is ignorant.
djsumdogover 7 years ago
I remember when I moved off Wordpress to Jekyll, all my Wordpress stuff was in Textile using a Textile plugin. When I migrated off, I used a plugin that ran everything through the HTML rendered and exported it.<p>My new stuff is in Kramdown, and my old stuff is HTML with some Jekyll headers at the top. I did have to go back through some of it and clean it up too.<p>If I move to something new, I&#x27;d just render everything I have with Kramdown into HTML and move on to the next thing.<p>That&#x27;s sadly how we have to deal with these engines.
sbr464over 7 years ago
Seems similar to jade?<p>Edit expanding:<p>I liked jade but stopped using because of jsx, and disliking having to research solutions during unique use cases. I also have learned markdown fairly quickly, and like it more now, but I personally don’t think it is as good of an experience reading plain text files as my own “plain text hacks” that I would use to format docs destined to be read in plain text. I feel that it clutters a nicely organized personal note, which adds to mental overhead.
foucover 7 years ago
Does anyone think that there should be an alternative to markdown with a more natural syntax, that is text first? Something that is meant to be viewed in plain text most of the time, looks good in text, and easy to type in text, and has nice syntax highlighting.<p>Markdown isn&#x27;t very aesthetically pleasing in plain text IMO. It&#x27;s awkward to type, and it doesn&#x27;t handle indenting the way people would normally create lists and indents in text. (## H2, ### H3 .. really??)
uranusjrover 7 years ago
I thought this is the famous Markdown parser by Vicent Martí. [1] It was the most popular Markdown implementation before CommonMark, and is used by GitHub (via RedCarpet, its Ruby binding) before they switch to CommonMark a while ago. The name choice is a bit unfortunate, but I guess it’s too late to change it now.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;vmg&#x2F;sundown" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vmg&#x2F;sundown</a>
gbraadover 7 years ago
this defies what I want from a markup in plain text. It should look readable and formatted, even when not rendered.<p>Example: <a href="https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;gbraad&#x2F;resume&#x2F;master&#x2F;resume.md" rel="nofollow">https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;gbraad&#x2F;resume&#x2F;master&#x2F;resum...</a> =&gt; <a href="http:&#x2F;&#x2F;gbraad.nl&#x2F;resume&#x2F;resume.html" rel="nofollow">http:&#x2F;&#x2F;gbraad.nl&#x2F;resume&#x2F;resume.html</a><p>I stopped reading after the first introduction of &#x27;the syntax&#x27;, as the intro either does not mention the why, or it totally misses the point.
brian-armstrongover 7 years ago
A collection of Sundown documents could be called a Sundown Town <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Sundown_town" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Sundown_town</a>
ComputerGuruover 7 years ago
This is closer to an html templating language than anything else.
0x142857over 7 years ago
I would rather consider it as an alternative to HTML.
juandazapataover 7 years ago
This has nothing to do with Markdown. You actually have to know html tags to use this.
swyxover 7 years ago
clicking thru on the signup link: <a href="https:&#x2F;&#x2F;www.sunsed.com&#x2F;sign-up" rel="nofollow">https:&#x2F;&#x2F;www.sunsed.com&#x2F;sign-up</a><p>Page not found. The requested URL &#x2F;sign-up was not found on this server.
评论 #16006951 未加载
anonytraryover 7 years ago
Someone needs to make a markdown-clone called &quot;yadown?&quot;. Yet another down.
drvortexover 7 years ago
How often will we reinvent LaTeX ?
arnonover 7 years ago
It feels like every other week there&#x27;s a new alternative to Markdown..<p>Question is, do we need another alternative to the Markdown alternatives we already have?
评论 #16008360 未加载
评论 #16006362 未加载
评论 #16006386 未加载
fiatjafover 7 years ago
So you&#x27;ve created a website with your own name?
评论 #16006178 未加载
tomcooksover 7 years ago
Goodspeed and may this ulterior specification become famous and used ; buuut i can&#x27;t avoid thinking about a certain Xkcd strip [0]<p>[0](<a href="https:&#x2F;&#x2F;imgs.xkcd.com&#x2F;comics&#x2F;standards.png" rel="nofollow">https:&#x2F;&#x2F;imgs.xkcd.com&#x2F;comics&#x2F;standards.png</a>)
tobyhinloopenover 7 years ago
There are many markdown implementations and standards. Madness! Lets create another one, but with a syntax that is worse somehow
评论 #16006192 未加载