So you've been reading dev.to and you're ready to post. Great! Here's how to do that, and what to expect next:
0. Sign Up
If you don'...
For further actions, you may consider blocking this person and/or reporting abuse
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-...
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 :)
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.
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).
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.
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.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.
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. 🙂
This helps me a lot! Thank you :)
@chrisachard Maybe the article should be updated?
Good guide! Happy to be on DEV 👋🏼