From a0436c8329b34ee1a5ccefbf09232650fd31cd5c Mon Sep 17 00:00:00 2001 From: Ravi Date: Sat, 20 Jul 2019 01:46:12 -0700 Subject: [PATCH 1/4] enable markdown in author bio added the markdownify liquid filter --- _includes/author-profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/author-profile.html b/_includes/author-profile.html index 4f0c02cd8ee6..ce3eb758e946 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -34,7 +34,7 @@

{{ author.name }}

{% endif %} {% if author.bio %}

- {{ author.bio }} + {{ author.bio | markdownify }}

{% endif %} From c105015910a494610da5a8141bea0c80680c051e Mon Sep 17 00:00:00 2001 From: Ravi Date: Sat, 20 Jul 2019 01:46:41 -0700 Subject: [PATCH 2/4] Add markdown to bio in _config.yml --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index cf830b7bea1d..48bcf2da71e9 100644 --- a/_config.yml +++ b/_config.yml @@ -109,7 +109,7 @@ analytics: author: name : "Your Name" avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg" - bio : "I am an amazing person." + bio : "I am an **amazing** person." location : "Somewhere" email : links: From e43a6c3a9826f207c5b2b34d652aa664294091fd Mon Sep 17 00:00:00 2001 From: Ravi Date: Sat, 20 Jul 2019 01:52:15 -0700 Subject: [PATCH 3/4] add markdown to bio in /test/ _config.yml --- test/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/_config.yml b/test/_config.yml index 2ec5de3e5a48..e0ef5473b3e2 100644 --- a/test/_config.yml +++ b/test/_config.yml @@ -96,7 +96,7 @@ analytics: author: name : "Your Name" avatar : "/assets/images/bio-photo.jpg" - bio : "I am an amazing person." + bio : "I am an **amazing** person." location : "Somewhere" links: - label: "Your Website" From 59dcf45c1a5c6a91f4477cb731ae24462af5463e Mon Sep 17 00:00:00 2001 From: Ravi Date: Sun, 21 Jul 2019 12:04:28 -0700 Subject: [PATCH 4/4] Change

to

--- _includes/author-profile.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/author-profile.html b/_includes/author-profile.html index ce3eb758e946..b7d62149927c 100644 --- a/_includes/author-profile.html +++ b/_includes/author-profile.html @@ -33,9 +33,9 @@

{{ author.name }}

{% endif %} {% if author.bio %} -

+

{{ author.bio | markdownify }} -

+
{% endif %}