Recent submissions

Comment · 1 year ago
I use https://copilot.money for my personal book keeping and am really happy with the insights it provides into my spending habits
Comment · 1 year ago
I think using TipTap would have been the best option but I decided to build my own editor using contenteditable with the diff-dom library to maximize my learnings.

The editor keeps track of the original text and the modified text (not yet accepted text). The rendering starts by calculating the diff between the two texts and building a virtual DOM tree with special markers for changes. Then, cursors and selections are inserted into the virtual DOM, after which the DOM is processed by the markdown parser. The parser converts markdown syntax into formatted DOM elements. Finally, the virtual DOM is diffed against the contenteditable DOM, and the minimal updates are applied. There is some additional logic to handle cursor positioning between the updates and to manage the history.

Comment · 13 years ago
Use progress as html tag?
Comment · 13 years ago
I am currently also selling my product (newsletter mailer) via codecanyon. My main concern leaving codecanyon is how to drive potential customers to my site. As you already said there is a huge support effort on codecanyon, due to "inexperienced" customers.
Comment · 14 years ago
It must be a valid c/c++ program. Just wrap your code in a function
Comment · 14 years ago
Yes I could add some thing like a permanent link creator.
Comment · 14 years ago
Fixed
Comment · 14 years ago
Just fixed
Comment · 14 years ago
No problem I think I could fix it.

Can you show us how you read the content of the file. Just want to learn more

Comment · 14 years ago
Comment · 14 years ago
OK I will let the user choose between both syntax

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton