News for hackers. Stuff that matters.
Re:Show HN: HTML-Notepad – A WYSIWYG editor of structured do... by c-smile on Saturday November 03, 2018 @09:35PM (#18373529)
Author of the Notepad is here. Will answer questions, if any.
Re:Show HN: HTML-Notepad – A WYSIWYG editor of structured do... by AnIdiotOnTheNet on Saturday November 03, 2018 @11:53PM (#18374103)
No questions, this seems like something I would use, but boy is it broken on Windows. Code block newline behavior is weird, saving errors out and then clicking save will error out forever on the same file path, save-as shortcut doesn't seem to work... this is in about 1 minute of playing with it.

I hope the experience improves because I'd like to do my documentation in something better than text, but don't want to hand edit crap and every other tool I've tried produces inconsistent results.

Re:Show HN: HTML-Notepad – A WYSIWYG editor of structured do... by c-smile on Sunday November 04, 2018 @12:09AM (#18374157)
"Code block newline behavior is weird" yeah. The HTML logic itself in <pre> blocks is not "WYSIWYG friendly". CRLF is in effect only if it separates something but not at the end of <pre> block. But I will do something with it anyway.

"Save as" is there but no button for it yet, will add.

HTML-NOTEPAD is at beta stage at the moment, so bug reports are always welcome. And my pardons in advance for any of them.

Re:Show HN: HTML-Notepad – A WYSIWYG editor of structured do... by savolai on Sunday November 04, 2018 @10:59AM (#18376442)
Hi! I appreciate the effort, this seems like a good way to write in a neutral way.

Due to moving from one macbook pro to another, my current user folder name has a space in its name, which macos itself selected as the name of the folder. This seems to prevent your app from saving any files.

Re:Show HN: HTML-Notepad – A WYSIWYG editor of structured do... by Waterluvian on Saturday November 03, 2018 @09:43PM (#18373556)
Is markdown implemented or not? Title and description are in conflict. If it is, does it support code highlighting of most major languages? That's the #1 needed feature for any notepad I use.

Thanks!

Re:Show HN: HTML-Notepad – A WYSIWYG editor of structured do... by c-smile on Saturday November 03, 2018 @10:03PM (#18373642)
At the moment Markdown support is limited - only HTML-to-Markdown conversion is in place. Check: https://html-notepad.com/2018/11/03/version-0-1-1-0/

Basic idea is that HTML is so called "master format" - you edit mostly in WYSIWYG and getting MD or reStructuredText (of particular flavor) when you need to publish it.

Next step in MD support will be MD-to-HTML converter so you can copy MD from, say, GitHub, edit it in human readable form and publish it back.

As of pre blocks syntax highlighting... This is also planed. Sciter already has native support for it, here is full source of script colorizing: https://sciter.com/tokenizer-mark-syntax-colorizer/ , thus it will not be difficult to do that.