Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How can I add html in the description section on _config.yml for github page

title: My Profile
description: My description
theme: jekyll-theme-minimal

This is my code in the on _config.yml file so far. I would like to add html code to show the link for my website under my description.

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

To add html code to the yml file, you can simply add html directly under the description topic. But if it is multi-line html code, I would suggest you to add > or | before your content to span your values to multiple lines. it is also easier to read and edit.

For example,

title: My Profile
description: >
    My description
    <br><br>
    <a href="your_website">website</a>
theme: jekyll-theme-minimal
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading