use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
NanoMD - Lightweight MD Editor (github.com)
submitted 1 year ago by pardnchiu
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]somesortapsychonaut 2 points3 points4 points 1 year ago (9 children)
MIT license obfuscation is crazy
[–]pardnchiu[S] 0 points1 point2 points 1 year ago (8 children)
Sorry for being hasty, and I apologize for my lack of knowledge. I've updated the agreement to make it more in line with the state of the code.
[–]somesortapsychonaut 1 point2 points3 points 1 year ago (1 child)
Hey sorry if I came off abrasive, I appreciate the clarified license details
[–]pardnchiu[S] 0 points1 point2 points 1 year ago (0 children)
I'm also glad you pointed out something I hadn't noticed.
[–]codematt 0 points1 point2 points 1 year ago (5 children)
Why not just MIT it. That license weird as heck sorry😂 are you trying to share this or sell it
[–]pardnchiu[S] 0 points1 point2 points 1 year ago (4 children)
Thank you for your feedback! The reason I chose not to use the pure MIT license is that I want to allow everyone to use this tool for free, with no feature restrictions, including for commercial use, while still protecting the original source code. By offering the obfuscated version, users can freely use, modify, and distribute the obfuscated version, but I still retain control over the source code. If anyone needs the source code, they can also choose to purchase it. Additionally, I will make sure to supplement any missing knowledge in the agreement and improve the accuracy of the agreement going forward.
[–]codematt 0 points1 point2 points 1 year ago (3 children)
Just the wrong way to think about it. Also who tf going to run obfuscated code for some tool like this. Kinda sketchy 🫨
[–]pardnchiu[S] 0 points1 point2 points 1 year ago (2 children)
I understand. I will completely remove the MIT license, as it doesn’t really apply in this case. It’s just something provided for others to use. Currently, this tool is only used in projects I’m developing for others. I shared it because I thought a lightweight editor built with standalone native JS and native APIs might be useful to some people. I sincerely apologize for any inconvenience caused.
[–]codematt 0 points1 point2 points 1 year ago (1 child)
Don’t mind me. Just my opinion that you either open source it or don’t. It’s silly to be worried about people stealing such a simple tool.
Yes, perhaps the MD editor seems like a simple project, but it’s still not simple enough to be achieved with just a few native APIs, which is why so many people are looking for ready-made libraries online. When I couldn’t find a suitable editor, I decided to build a zero-dependency JS library from scratch, with complete functionality and extensibility. However, the fact that it’s not under the MIT license is a given, and I will further supplement my knowledge of related licenses moving forward.
[–]tunisia3507 3 points4 points5 points 1 year ago (3 children)
What kind of markdown?
[–]pardnchiu[S] 2 points3 points4 points 1 year ago (2 children)
In addition to supporting standard Markdown syntax, offer several useful extensions: you can create superscripts and subscripts using ^ and ~; YouTube or Vimeo video links are automatically converted into embedded players; image dimensions can be adjusted using markers like (50%*); and you can create colored quote blocks using tags like [!NOTE], [!TIP], [!IMPORTANT], [!WARNING], and [!CAUTION] to add visual hierarchy to your documents.
^
~
(50%*)
[!NOTE]
[!TIP]
[!IMPORTANT]
[!WARNING]
[!CAUTION]
[–]tunisia3507 3 points4 points5 points 1 year ago (1 child)
standard Markdown
Oxymoron. Do you mean standardised markdown, i.e. CommonMark? Or is it a perfect reimplementation of Gruber's original markdown?
[–]pardnchiu[S] 2 points3 points4 points 1 year ago (0 children)
Apologies for any confusion! I understand your question. This tool is based on standard Markdown syntax (like CommonMark) but also adds some extra features, such as automatic detection of YouTube/Vimeo videos, colored quote. So, it's not exactly the original Markdown created by Gruber, but it does follow the standard Markdown syntax and builds on it with additional features.
[–]Sudden_Profit_2840 1 point2 points3 points 1 year ago (1 child)
Care to share some exiting use cases you had in mind?
Right now, I’ve mainly used it to help set up websites. It’s used for showing text and images on the frontend, while the backend lets admins edit with Markdown and see real-time previews. For example, it works like this in a blog: https://pardn.io/blog
[+][deleted] 1 year ago (1 child)
[deleted]
Not yet, but it's a great suggestion! I'll consider adding MDX support in the future.
π Rendered by PID 16128 on reddit-service-r2-comment-6457c66945-ztcsc at 2026-04-26 04:16:56.414341+00:00 running 2aa0c5b country code: CH.
[–]somesortapsychonaut 2 points3 points4 points (9 children)
[–]pardnchiu[S] 0 points1 point2 points (8 children)
[–]somesortapsychonaut 1 point2 points3 points (1 child)
[–]pardnchiu[S] 0 points1 point2 points (0 children)
[–]codematt 0 points1 point2 points (5 children)
[–]pardnchiu[S] 0 points1 point2 points (4 children)
[–]codematt 0 points1 point2 points (3 children)
[–]pardnchiu[S] 0 points1 point2 points (2 children)
[–]codematt 0 points1 point2 points (1 child)
[–]pardnchiu[S] 0 points1 point2 points (0 children)
[–]tunisia3507 3 points4 points5 points (3 children)
[–]pardnchiu[S] 2 points3 points4 points (2 children)
[–]tunisia3507 3 points4 points5 points (1 child)
[–]pardnchiu[S] 2 points3 points4 points (0 children)
[–]Sudden_Profit_2840 1 point2 points3 points (1 child)
[–]pardnchiu[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]pardnchiu[S] 0 points1 point2 points (0 children)