I'm a software craftsman, focussed on building solutions that people love, with real market value. I love writing about solutions that help developers excel.
Software engineer, I've been working with Angular for 6 years now and strive to work more full stack. I publish on dev.to about topics I love around open source, frontend, data privacy, automations.
You can also enjoy the power of GIT to have versions on your posts, Prettier to format your Markdown post, Github so that people can fix your posts by making a PR and many more by using my-dev-to template 😊 dev.to/maxime1992/manage-your-dev-...
Java-brewed engineer with a taste for Kotlin (Compose), a tolerance for TypeScript (React), and a soft spot for Dart(Flutter);
Co-founder of jPrime, jProfessional, DataStackConf and java.beer events
Nice post,
however to me it is not clear how to add highlight for the code template ?
By default in Markdown you can write with 3 ` the begining of a code block and the end with 3 ` however also at the beginning you can write the language for highlight which doesnt seems to work.
Example of markdown with highlight not in dev.to but in general :
```javascript
console.log("this should be highlighted with javascript but this is not the case); ```
So can you explain how to paste a code block WITH a highlight intext in the post.
Ah! Got it - if I have a backtick (just a single one) in the post like you do BEFORE the three backticks, then the parser gets confused... try just doing threebackticks with the "javascript" and it should show up like this:
console.log("this should be highlighted with javascript but this is not the case);
Java-brewed engineer with a taste for Kotlin (Compose), a tolerance for TypeScript (React), and a soft spot for Dart(Flutter);
Co-founder of jPrime, jProfessional, DataStackConf and java.beer events
I'm a friendly, non-dev, cisgender guy from NC who enjoys playing music/making noise, hiking, eating veggies, and hanging out with my best friend/wife + our 3 kitties + 1 greyhound.
What type of description are you looking to add? I only know about the title and tags; plus you can add a cover image that will show up on twitter, etc.
Some of the "descriptions" you see might just be the first few lines of the post?
I know this post is quite old but I just had the same question.
If you don't do anything then it just takes the first few lines of your article by default. If you want to set a custom description then there are two options that I could find. Option 1 seems much better to me.
Remove the ' before the --- below, I just added it before the --- to stop markdown reformatting it.
Add a frontmatter section containing a description field to the top of the article (it will only be visible in edit mode):
'---
description: A great article about how to set the description of an article on dev.to
'---
Change the editor to basic markdown on this page: dev.to/settings/ux. When you do that new posts will have this at the top when in edit mode. However then you have other things that you need to set manually that you :
'---
title:
published: false
description:
tags:
//cover_image: direct_url_to_image.jpg
'---
After setting that description field I see the custom description in the API.
Front-end Developer at Realtruck.com, Organizer of Orlando’s Project Code Experience Meetup, Co-Host of the Tech Jr Podcast, and all-around Junior Developer Advocate.
Thanks Dandy :) I've had a few beginners actually ask me about it, which is why I made the post! - So yes, it's pretty straightforward, but still can be daunting if you haven't written a post before 😀
Do you mean you can't see the "write a post" button in the navbar? There's also a "write a post" link if you hover over your profile picture in the upper right... does that work?
Thank you so much for this post! I have been on Dev for a long while but not until this post did I realize there was an image button at the bottom as an option to add in an image.
Hi, I’m Jessica Milano from New Jersey! I’m new to the world of coding, but I’ve quickly developed a genuine passion for it. I’m excited to grow my skills and turn this enthusiasm into a rewarding car
👋🏼 Data engineer and full stack web developer here!
👷🏼♂️ I love working in teams and building solutions for people.
📧 Contact me at jaceroldan16@gmail.com if you're looking for a collaborator!
Also:
Write about anything you like, it doesn't have to be mega complicated or technical.
There are more beginners out there than you think. Many people are a few steps behind you and happy to read what helped you to understand things.
YES! Absolutely
Absolutely got this ❤️
Awesome comment dude!
You can also enjoy the power of GIT to have versions on your posts, Prettier to format your Markdown post, Github so that people can fix your posts by making a PR and many more by using my-dev-to template 😊 dev.to/maxime1992/manage-your-dev-...
Nice post,
however to me it is not clear how to add highlight for the code template ?
By default in Markdown you can write with 3
`the begining of a code block and the end with 3`however also at the beginning you can write the language for highlight which doesnt seems to work.Example of markdown with highlight not in dev.to but in general :
```javascriptconsole.log("this should be highlighted with javascript but this is not the case);
```So can you explain how to paste a code block WITH a highlight intext in the post.
... oh weird! I just wrote this comment about how it should work, but then it didn't for me... I'm looking into it; not sure what's going on
Ah! Got it - if I have a backtick (just a single one) in the post like you do BEFORE the three backticks, then the parser gets confused... try just doing threebackticks with the "javascript" and it should show up like this:
Does that work for you?
We should add this to the markdown ? btw when writing post :))
Sometimes it looks it doesnt work .. its weird but now it works.. :) weird !
```javascriptconsole.log("no color");
```now in the post I have
`*3 times but here bellow when trying I am typing just 3 times without SPACES and I got it !weird why it wasn't working above.
Chris, I can't tell you how many people I've pointed here to use this tutorial. Thank you for writing such handy documentation! 😀
By the way, would it be cool with you if we add the tag #meta to this?
Awesome! And sure :)
How can you add a drscription for your post?
What type of description are you looking to add? I only know about the title and tags; plus you can add a cover image that will show up on twitter, etc.
Some of the "descriptions" you see might just be the first few lines of the post?
Hmm well i am talking about this key "description"
curious as of how it can be filled?
Huh! Not sure actually :) @ben might know maybe? (don't know if @ mentions work here)
I know this post is quite old but I just had the same question.
If you don't do anything then it just takes the first few lines of your article by default. If you want to set a custom description then there are two options that I could find. Option 1 seems much better to me.
Remove the ' before the --- below, I just added it before the --- to stop markdown reformatting it.
Add a frontmatter section containing a description field to the top of the article (it will only be visible in edit mode):
'---
description: A great article about how to set the description of an article on dev.to
'---
Change the editor to basic markdown on this page: dev.to/settings/ux. When you do that new posts will have this at the top when in edit mode. However then you have other things that you need to set manually that you :
'---
title:
published: false
description:
tags:
//cover_image: direct_url_to_image.jpg
'---
After setting that description field I see the custom description in the API.
Thanks for the tutorial Chris.
Note; I published my first post here but I noticed that my article contains noindex/nofollow tags. Not sure why so?
Anyways I think my article is visible to dev community members. :)
Glad it helped!
Hm; not sure about the noindex/nofollow - (would be a question for the DEV team perhaps).
Most importantly... Just post it
Definitely! DEV's a great place to post, even if you're nervous - so just post it :)
Thanks Dandy :) I've had a few beginners actually ask me about it, which is why I made the post! - So yes, it's pretty straightforward, but still can be daunting if you haven't written a post before 😀
Can't see the 'Write a Post' section ???
Do you mean you can't see the "write a post" button in the navbar? There's also a "write a post" link if you hover over your profile picture in the upper right... does that work?
Ah! Seen it. Thanks.
Thank you so much for this post! I have been on Dev for a long while but not until this post did I realize there was an
imagebutton at the bottom as an option to add in an image.I followed like you but image not rendering in preview mode
Hm, perhaps try to upload it again, and copy the image tag again? Sometimes I find it does weird things with image uploads.
Thanks for the tips! Applied them here: dev.to/offirmo/learn-javascript-in...
How to leave a space when I write article in dev.to??
dev's markdown processor accepts HTML, so you can write: <br /> to get a blank line
Thanks for this great tutorial. 🙂
@chrisachard Maybe the article should be updated?
Can you write about meta noindex nofollow tag on dev.to?
Good guide! Happy to be on DEV 👋🏼
This helps me a lot! Thank you :)