Recent submissions

Comment · 10 years ago
Those terms are for the site, not for the text editor. :-) I might open source the editor when I have time.
Comment · 10 years ago
Not yet. I might do that later, but it requires some cleanup work.

The code has three parts: Markdown to HTML text, HTML DOM to Markdown, and the editor. The total size is about 30KB uncompressed (27KB JS + 3KB CSS). It didn't use any icon font or images.

Comment · 10 years ago
Wow, that's fun. No wonder few applications use "/" for hotkey combination. Maybe I should use a different key, say, ".".
Comment · 10 years ago
Yes, its HTML editing is pretty basic. I did not intend to make a full-blown HTML editor. There are already many ones.

My goal is to make Markdown and HTML editors working together. I want to support Markdown because it's very productive for long-form article writing.

Comment · 10 years ago
Yes it follows CommonMark, but is stricter for safety consideration (e.g. does not allow scripts).
Comment · 10 years ago
It does not force you to use mouse click on GUI elements. You can use `⌘`+`/` (or `Alt`+`/` on Windows) to switch between WYSIWYG/Markdown modes. Actually it's the preferred way unless you are on mobile devices.

The default mode is WYSIWYG since Markdown syntax frustrates people who don't know Markdown well.

Thanks for mentioning Typora! It's an interesting implementation. I've thought about that approach (in-place real-time preview as you type Markdown text) before, but inside a browser, it's too cumbersome to fight against the inconsistent contenteditable behavior.

Comment · 10 years ago
I believe OP means a WYSIWYG editor is much better than Markdown.

In terms of a markup language in pure text, I think Markdown is your best bet. Folks in CommonMark.org tries to "standardize" Markdown. Our implementation in Twincl.com follows that standard as much as we can.

Comment · 10 years ago
Didn't you use existing rich text editors like TinyMCE or CKEditor?
Comment · 10 years ago
At least you must be careful when using multiple Facebook accounts from the same computer. It might cause your main Facebook account locked, and take you a while to have Facebook unlock it for you.
Comment · 10 years ago
Forum anonymity (or more precisely, disposable account) is the source of moderation pain and the reason of suboptimal forum content quality. It's one of the main issues I want to address from day 1. If FB account puts a lot of people off, I may consider adopting SMS verification sooner, or change the yearly subscription to a one-time small fee.

It seems Markdown editing is a red flag for broader adoption. I've thought about a dual approach before: allow casual users to edit with GUI, and provide the Markdown editing capability for pro users.

I do not have a fool-proof way to prevent plugin copying. If somehow it's widely copied, it's not a bad thing (to most people), too.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton