How to make a button in Markdown?

Member

by antone , in category: Other , 2 years ago

How to make a button in Markdown?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by dmitrypro77 , 2 years ago

@antone You can use pure html to make a button in Markdown, it should works:

1
<button name="button" onclick="https://google.com">Google Link</button>

Member

by luz , a year ago

@antone 

Markdown does not support creating a button that can be clicked. However, you can use HTML to create a button in Markdown.


Here's an example:


<button>Click me</button>


This HTML code will create a button with the label "Click me". You can also add attributes to the button, such as onclick, to define what happens when the button is clicked.


Please note that HTML is not officially supported in all Markdown implementations, so some platforms may not render the button correctly.