If you're a developer, chances are you've come across markdown editors before (whether you know it or not).
Markdown is supported by GitHub, DEV, ...
For further actions, you may consider blocking this person and/or reporting abuse
I had no idea about the diff highlight! Can you combine it with a JS syntax highlight?
Im definitely using this in my next tutorials btw. Thanks a bunch for the article!
As far as I know you can't have two languages selected so if you have diff there's no way to add another language.
That's why I only use diff when it's a change of a few characters, if the change is more than a line I'll use they language for the syntax highlighting.
My best markdown lifehack is to ditch it in favor of asciidoc as soon as you are doing something non trivial.
Simple things should be easy, complex things should be possible said a wise man. Markdown got only the first part right. Asciidoc is as easy as markdown for the simple things but won't let you down if you do something more complex
asciidoctor.org/docs/user-manual/#...
If I really need more complex I might just use good ol' latex
Latex is oriented towards Print though, that's a different use case
Which really is the only time where I need something more complex than markdown.
That's what I thought also, but in fact markdown is never enough if you look at it closely :
The question then is whether to use multiple incompatible "markdown plus extension" or a standardized better format like asciidoc.
Is AsciiDoc used by any web site, web application, or CMS (not a rhetorical question)?
It works on GitHub
Love Markdown and this article.
Nice job!
There is a small error, in the Javascript and Diff examples, they are mixed.
To beginners I'll suggest to install a preview extension into VSCode and maybe another extension to handle Markdown shortcuts.
Thank you!
What do you mean that they are mixed? It seems right to me... π€
Nevermind, it must be something regarding the renderer on the DEV Android app, or it was me that was just tired after a long week! π
Nice list! I also like to use angle brackets
<>
around links with no text, quotations with>
, and footnotes via the Extended Syntax (supported by GitHub Pages for example). markdownguide.org/extended-syntax/Everyone who is new to publishing on here should read this.
Thank you! β€οΈ
Javascript and diff, of course. But many, many more. Check out the complete list on Github.
Yes! I didn't mean to imply JavaScript was the only one, I brought it as an example. Most people I've spoken to didn't know about diff though, so that was the main one I wanted to point out.
I didn't know about
diff
as a language, thanks!Btw you might want to change the first gist link, it shows the same file as the second gist, with the
javascript
keyword.Was the mentioned issue fixed with #4438? It is not entirely clear. Perhaps update this post if it was?
Ah, looks like it was, thanks!
This article is great! I didn't know some of those things!
Glad you found it helpful!
Didn't know about diff.
Will deffo use diff
Thank you!
Just tried it in Joplin (OneNote-like app using Markdown syntax) and it works wonderfully, thanks for the tip!
Glad you found it helpful!
Wonderful article! I'm using a project management software and they allow us to write Markdown as well. I will definitely use your advice!
Glad you found it helpful! π€
Really useful tips!
Glad you found it helpful! π€
diff looks awesome! I never knew that would work like it does :) nice - thanks!
This is awesome I π― of the time use 1. Only for allmy lists.
Same! π
Wow ! Gonna implement the 'diff' in my next article ! Thankss ! :)