Hi guys, I'm sox! ^^
It's been a month, but I finally figured out how to connect to the internet again.
The value of your wordsThe value of your words
One of the core concepts of Stacker News is that it gives you a platform to write content so good that people will pay bitcoins for it.
And I'm personally amazed by the fact that, as of now, more than 1,250,000 of your creations have been posted right from your keyboard onto Stacker News. That's a lot!
Now let's dive deeper on content creation.
A new editor.A new editor.
We want to help you push your creativity and writing skills even further, and we're going to give you the best tools to do so.
design absolutely not final, subject to change
*rich as in rich mode, lol
This new editor is packed with features, but I'm going to show you just a few, for now.
Resize your images, and add a caption too.Resize your images, and add a caption too.
You’re writing a really good post about a cat. It’s time to add a picture of said cat, but just as you’re about to see your preview, the image suddenly appears and takes up all the space.
We're going to save you from this madness, by giving you the ability to resize your images and videos. And while we were at it, media will support little captions.
design absolutely not final, subject to change
in a next update, media will be draggable, but we'll talk more about how it'll work later
Add and edit links easilyAdd and edit links easily
Select, paste, done. You just inserted a new link.
You want to be more careful with it? The link editor can help you.
design absolutely not final, subject to change - ok sox we get it
Even more toolsEven more tools
And not to mention alignmentsnew!, indentation, clickable checklists, cool unannounced stuff that's too cool to talk about now, and much more!
design absolutely not final, subject to change - stop it
But wait, what about Markdown?But wait, what about Markdown?
Extended, switchable markdown mode
The new editor™ is split in markdown mode and rich mode, it supports lossless transformations of rich nodes into markdown and viceversa.
This required an extension of the markdown we're going to support, adding support for selected HTML equivalents.
Also requires careful precision in transformations, which has to be nailed perfectly if we really want to make it truly lossless.
Highlighted Markdown
The markdown in the video was a bit colorful, wasn't it?
Markdown Mode, and every code block, are powered in real time by Shiki, a lightweight syntax highlighter. It gives clarity to the content you want to write in Markdown: so long unstyled and messy markers stealing the scene from your text!
What's next and when.What's next and when.
This has been a sneak peek into what's next for the writing experience on Stacker News.
But the editor, a really central part of SN, has to be at least somewhat good enough for everyday use before we can let you get your hands on it.
Hopefully this is going to happen in a couple of weeks. The backstage work is nearly complete, now it's down to polishing, styling and QA.
YouYou
While this early preview just shows what the editor is already capable of, your feedback will be essential throughout the whole pre-release period to create an editor that fits like a glove on your hand.
The design and features are going to evolve and change a lot in these next weeks, so stay tuned for more updates.
I was so excited that I just couldn't hide it from you anymore!
- sox
lets goooooooooooo
Getting tingles in my fingers here...
Are we gonna get spoiler tags too?
✍️ spoiler tags
Yes! But I was really conflicted on how to proceed with their presentation.

Should they be traditional spoilers like
orrrr hidden text that replaces the spoiler summary on click?
for in-line I prefer the hidden text that reveals on click
for paragraph I like expandable
Sorry, more work for you! HAHA
I didn't talk about it in this post, but there are also going to be new Math nodes powered by KaTeX instead of MathJax.
It's lightning fast and undoubtedly better. It produces HTML suitable for more than just math.
I'm not sure it'll be ready for the first version, but this also means Equation Editor
no worries, the relationship between rich and markdown mode has already reached 5k lines lmao.
I like the double approach!
Will all this work on Mobile?
Of course! Desktop and mobile are tested in parallel.
Mobile is going to need bigger buttons and clickable surfaces, but this won't ship until the experience is comfortable on both ends.
@guerratotal and @supratic
#692783 is still something I want to implement.
This post focuses on the early capabilities of the new editor, but not so much about UX. That's going to be featured in a later post.
Wow, bro, thanks so much... excellent work!!!
I'm going to use it today, in fact, I think right now hahahah...!!!
This is only a preview, it’s going to come out in ~2 weeks
:´(
NFW, That's great! This will enable a creativity exploit on SN.
Still, would be nice to have:
Well, thank you!
export const EDITOR_SHORTCUTS = [ { action: 'toggleMode', combo: 'mod+shift+m', handler: ({ editor }) => { editor.dispatchCommand(SN_TOGGLE_MODE_COMMAND) } },On the face of it, these seem like good improvements. Is there anything for those who are making directories of posts? Maybe something like an auto-table or something?
The new editor supports tables right out of the box, but I wanted to give them some advanced features and they're somewhat ugly for now. We’ll feature them in a future post!
Cannot wait!!!!!
Way to spice up my SN life! Thanks, mate
Holy crap! I cannot wait.
Exciting news!
Exciting news
WoW nice options
Great idea.
Aww man. I was expecting a vscode competitor.
Hey we're not a random AI company on X
This all sounds so good and I’m so excited to see it soon – even I that don’t post a lot. Thank you to improve it while keeping it simple to use.