My Personal Blog

Home

Adding Markdown Support to the Blog

Jan. 19, 2024 | Categories: dev

Adding markdown was relatively straightforward thanks to this tutorial. All I had to do was to import the markdown package in the views.py file and convert the post.body to markdown.


import markdown 
# ...
def blog_detail(request, pk):
md = markdown.Markdown(extensions=["fenced_code"])
post = Post.objects.get(pk=pk)
post.body = md.convert(post.body)
# ...

I also had to modify the HTML template to flag the markdown to be rendered as safe:


<p>{{ post.body|safe | linebreaks }}</p>

For some reason the markdown is still pretty ugly, so I'll have to see if this could be fixed by a template.


While the change to the code was relatively simple, I struggled a bit with figuring out what the local development workflow should be. I ran into two issues.



  1. I am using poetry to manage the environment, and for some reason Django was not installed, so I had to reinstall everything with poetry install --no-root. The --no-root was due to the install erroring out when trying to install the project. I'm not sure if that is a problem but it ended up working fine.

  2. When I tried poetry run ./manage.py runserver, I got an error relating to the database. I realized this was due to some changes I had made to the settings.py file for deploying on Render. Notably, this entailed switching away from a SQLite db to postgres. I therefore had to figure out how to get postgres running (I downloaded the mac app, and ran postgres=# CREATE DATABASE personal_blog; to get the db I needed.)


So far this has been decent progress. I am realizing that:


Leave a comment:

Comments:

On Jan. 19, 2024 Adrien wrote:

The linebreaks are massive. Why?

On Feb. 19, 2025 Celesta wrote:

https://jekyll.s3.us-east-005.backblazeb2.com/20241213-1/research/je-tall-sf-marketing-(111).html
Knowing a little bit about what you’d wish to put on might help you narrow down your choices.

On April 23, 2025 Elida wrote:

https://filedn.eu/l46Ju9IQhhQ84ifWoIzEYnJ/digi111sa/research/digi111sa-(466).html
I was very impressed to see that there are classy and elegant outfits for all plus size girls.

On June 13, 2025 Cathleen wrote:

https://storage.googleapis.com/digi153sa/research/digi153sa-(332).html
Her mother, Rita, opted for this champagne-hued gown that was equally as ethereal.

On June 21, 2025 Whitney wrote:

https://filedn.eu/l4uw5uiN1qUR9BCabqOgPER/cz-marketing-111/research/cz-marketing-(404).html
For a seashore marriage ceremony I would put on one thing a bit more flowy like the flowery and ruffly attire above.

On June 23, 2025 Garrett wrote:

https://digi479sa.s3.us-east-005.backblazeb2.com/research/digi479sa-(162).html
Light, sunny, and normally stuffed with flowers, and they often use pastel colors inspired by springtime blooms.

On June 24, 2025 Major wrote:

https://cz-marketing-146.sgp1.digitaloceanspaces.com/research/je-tall-sf-marketing-(294).html
Everyone is conscious of you're the bride, so don't be
concerned about your mother sporting white or a full skirt alongside you.

On June 28, 2025 Brigida wrote:

https://elio191.wordpress.com/2025/06/16/2/
Check out the guide for excellent ideas and ideas, and get ready
to chop a dash at your daughter’s D-day.

On July 5, 2025 Keeley wrote:

https://digi562sa.z1.web.core.windows.net/research/digi562sa-(317).html
A stylishly easy event gown printed with romantic florals,
good for the mom of the bride.

On July 5, 2025 Marsha wrote:

https://digi23sa.syd1.digitaloceanspaces.com/research/digi23sa-(405).html
Inspired by Old Hollywood glamour, it'll match right in at a black tie wedding.

On July 10, 2025 Jacquelyn wrote:

https://digi15sa.sfo3.digitaloceanspaces.com/research/digi15sa-(43).html
This fashion is obtainable in a good choice of colors from neutrals and pastels to brights.

On July 27, 2025 Loretta wrote:

https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-279/research/je-tall-sf-marketing-(147).html
I assume each of the above might work with winery weddings.

On Aug. 2, 2025 Jolene wrote:

https://digi636sa.netlify.app/research/digi636sa-(436)
This will assist her discover the complementary ensemble and forestall her from being over or underdressed.

On Aug. 11, 2025 http://Boyarka-Inform.com/ wrote:

Hello! Someone in my Myspace group shared this site with us so I
came to give it a look. I'm definitely enjoying the information. I'm bookmarking and will be tweeting this to my followers!
Great blog and wonderful design and style. http://Boyarka-Inform.com/

On Aug. 16, 2025 spevaws wrote:

Happy to join conversations, share thoughts, and learn something new as I go.
I like hearing diverse viewpoints and adding to the conversation when possible. Interested in hearing new ideas and meeting like-minded people.
That's my site-<a href="https://automisto24.com.ua/">AutoMisto24</a>
https://automisto24.com.ua/

On Nov. 19, 2025 AustralianGamemam wrote:

Gaming equipment guide: boomerangs, didgeridoos, traditional tools, and where to source quality items at https://australiangames.top/

On Nov. 20, 2025 AustralianGamemam wrote:

Traditional games grants and funding: support for indigenous gaming and cultural programs at https://australiangames.top/

On Nov. 20, 2025 AustralianGameShowsNef wrote:

Ratings data proves Australian game shows attract sizeable audiences despite streaming services and changing television consumption habits. https://australiangameshows.top/

On Nov. 21, 2025 GratiaVitaeNef wrote:

Ваша страховка от ошибок — аналитика и подсказки по бытовым вопросам https://gratiavitae.ru/

On Nov. 23, 2025 PerplexityKupitNef wrote:

перплексики https://uniqueartworks.ru/perplexity-kupit.html

On Nov. 25, 2025 MetabolicFreedomNef wrote:

Tired of yo-yo dieting? Metabolic Freedom offers a clear path to lasting energy, weight control, and vitality. https://metabolicfreedom.top/ metabolize to freedom shirt

On Dec. 6, 2025 LasMujeresPDFNef wrote:

Tres décadas ayudando a mujeres a liberarse de relaciones destructivas https://lasmujeresqueamandemasiadopdf.cyou/ audio libro las mujeres que aman demasiado

On Dec. 11, 2025 NightingalePDFNef wrote:

Don't miss this incredible literary journey. The Nightingale PDF is just a click away. It is a story that celebrates the bravery of women and their vital role in the fight for freedom and justice. https://thenightingalepdf.top/ the rose and the nightingale pdf

On April 24, 2026 Marilyn wrote:

https://digi260sa.netlify.app/research/digi260sa-(408)
Saks is well top-of-the-line department stores for getting a mother-of-the-bride gown.

On April 24, 2026 Edythe wrote:

https://rosaliavvanessa7748.bcz.com/2026/03/04/3/
However, the only rule for carrying sequin attire is to maintain accessories and make-up refined.

On April 24, 2026 Jacklyn wrote:

https://theakcarmen7898.jiliblog.com/96563906/
There are many dressing options out there for
each budget.

On April 24, 2026 Lanny wrote:

https://silviahpearl4889.jimdofree.com/2026/03/20/5/
That said, having such a broad variety of choices would possibly really feel slightly overwhelming.

On April 24, 2026 Tonya wrote:

https://classic-blog.udn.com/f1f87def/186836317
For the mother whose fashion is modern and minimal, go for
a gown with an architectural silhouette in her favorite
colour.

On April 24, 2026 Norman wrote:

https://gwenfted.bcz.com/2026/03/16/1/
Many of the choices above would assist you to to cover somewhat little bit of a tummy.

On April 24, 2026 Rosalind wrote:

https://classic-blog.udn.com/23e1dd72/187587734
The modern silk material glides seamlessly over your determine, however an ankle-length skirt, high neckline and draped sleeves hold issues modest.

On April 24, 2026 Elvia wrote:

https://classic-blog.udn.com/3af7411f/187731282
Shopping for a mom of the bride outfit is exciting however
it may additionally be overwhelming on the same time.

On April 24, 2026 Ahmed wrote:

https://noisy-karina-0z5k0fjz.dcms.site/
Spring and summer season weddings call for gentle tones, floral motifs, and a romantic flair.

On April 24, 2026 Eulalia wrote:

https://metal-forsythia-f6c.notion.site/3335f98e59928047a331f13c33200ce3
Trust us, with a enjoyable handkerchief hem and pretty flutter sleeves,
you will be getting compliments all evening.

On April 24, 2026 Raymundo wrote:

https://ameblo.jp/mikaddarryl4898/entry-12960109784.html
This style comes in a good choice of colours from neutrals and pastels to
brights.

On April 24, 2026 Leanne wrote:

https://marthaecourtney4784.aioblogs.com/92916430/1
Browse our high selections and buy your favourite proper on the spot.

On April 24, 2026 Cortez wrote:

https://jeremiahgramon8433.wixsite.com/jeremiahgramon8433/post/____3
Trust us, with a enjoyable handkerchief hem
and fairly flutter sleeves, you may be getting compliments all
evening.

On April 24, 2026 Maryann wrote:

https://classic-blog.udn.com/e1113ac1/187737880
Purchases made by way of hyperlinks on this web
page could earn us a commission.

On April 24, 2026 Roxanne wrote:

https://ayeshacamitan.blogspot.com/2026/03/blog-post_11.html
Of course, you probably can play with colors of sequin outfits to kick off the
look of your desires.

On April 24, 2026 Beatrice wrote:

https://spradleydjillian9668.amebaownd.com/posts/58686196
If the wedding is extra formal, count on to wear a longer gown or long skirt.

On April 24, 2026 Don wrote:

https://suspicious-ede-3olmquv1.dcms.site/
It is customary to avoid sporting white in your children’s marriage ceremony day.

On April 25, 2026 Greg wrote:

https://classic-blog.udn.com/abe208e2/187689581
Don’t be concerned with having every thing match completely.

On April 25, 2026 Genie wrote:

https://valarieqdabria6988.xzblogs.com/80562633/1
Usually a nice knee size dress is ideal to beat the new weather.

On April 25, 2026 Judi wrote:

https://nissawann5658hotmail.wordpress.com/2026/04/03/5-2/
You can nonetheless embrace these celebratory metallic shades without overlaying yourself head to
toe in sequins.

On April 25, 2026 Shauna wrote:

https://joeyapaul4884.wordpress.com/2026/03/17/3/
Opt for non-creasing, moveable fabrics such as
scuba or lace, teamed with fashionable however sensible sneakers
for that added touch of glamour.

On April 25, 2026 Martin wrote:

https://florencefisaac4764.wixsite.com/florencefisaac4764/post/____5
Another can't-miss palettes for mother of the bride or mom of the groom dresses?

On April 25, 2026 Anja wrote:

https://ultra-nannyberry-9f6.notion.site/SEO-33542518ead5801d9aa7c743c2069b5f
A general rule for a wedding is that something too long or too short is a no-go.

On April 25, 2026 Lorrie wrote:

https://blush-porcupine-ecd.notion.site/32c0f20609d180678a4ec443521f476b
Florals can typically be tough to put on as a outcome of they will look old-fashioned.

On April 25, 2026 Letha wrote:

https://brandinbouck.amebaownd.com/posts/58661216
For the mom who likes to look put together and modern, a jumpsuit in slate gray is certain to wow.

On April 25, 2026 Emory wrote:

https://ameblo.jp/gwenfted/entry-12960227429.html
The high-end retailer sells loads of coveted luxury manufacturers
like Monique Lhuillier, THEIA, Jenny Packham, Badgley Mischka and more.

On April 25, 2026 Elijah wrote:

https://classic-blog.udn.com/32fda9db/187452857
The high-end retailer sells loads of coveted luxurious brands
like Monique Lhuillier, THEIA, Jenny Packham, Badgley Mischka and more.

On April 25, 2026 Jackie wrote:

https://varghesepkelvin8883hotmail.wordpress.com/2026/03/13/5-2/
The bride's aunt was just as fashionable in a Reem Acra number with lace and sheer ruffles.

On April 25, 2026 Aundrea wrote:

https://jaimaqpenny7845.wordpress.com/2026/03/20/1/
You might go for a nice gown with draping across the mid space in black
and white print.

On April 25, 2026 Sally wrote:

https://classic-blog.udn.com/5a9f1ecd/187591503
For her daughter's art-filled Washington, D.C., marriage ceremony, this mother of the bride
, donned a unusual, multi-patterned Oscar de la Renta gown.

On April 25, 2026 Regan wrote:

https://raymjosh6765.amebaownd.com/posts/58603936
Wondering what equipment to put on as Mother of the Bride?

On April 25, 2026 Rebbeca wrote:

https://sites.google.com/view/marketing-0316/page-29
Embroidery is a timeless development, and it's by no means hoped to exit of fashion.

On April 25, 2026 Merrill wrote:

https://ameblo.jp/isabelplorena/entry-12960960201.html
Jewel tones are a super palette for mothers of the bride
and grooms year-round.

On April 25, 2026 Bennett wrote:

https://classic-blog.udn.com/2d00396a/187522662
This surprisingly reasonably priced mother-of-the-bride dress
is perfect for a formal fall or winter marriage ceremony.

On April 25, 2026 Brandi wrote:

https://foregoing-sweatpants-a16.notion.site/31758458f02180408bbce340d749e914
With over 1,868 5 star reviews and coming in properly underneath $100,
this Gatsby type Maxi robe is bound to impress.

On April 25, 2026 Linnie wrote:

https://troubled-laser-94b.notion.site/31e9887f7e2580f0adc9c03507cbd518
This dress is on the market in sizes 2 –
22 to suit a big selection of body types.

On April 25, 2026 Logan wrote:

http://ttps://fan-marquess-efc.notion.site/3370c08f9b7a8079b03afbe90f502ef1
At once easy and refined, this superbly draped gown is the right hue for a fall marriage ceremony.

On April 25, 2026 Valencia wrote:

https://classic-blog.udn.com/13587693/187735734
Matching your MOB costume is a enjoyable approach to show
you consideration to detail.

On April 25, 2026 Terri wrote:

https://silviahpearl4889.exblog.jp/34631275/
We are picturing this superbly embroidered gown for a backyard or backyard wedding set amongst romantic flowers and rich greenery.

On April 25, 2026 Lenard wrote:

https://mikaddarryl4898.exblog.jp/34647823/
Clean lines and a shaped waist make this a timeless and chic
mother of the bride dress with a flattering silhouette.

On April 25, 2026 Mac wrote:

https://tinted-falcon-10wp296.mystrikingly.com/blog/f941203e4bf
Of course, you can play with colours of sequin outfits to kick off the look of your goals.

On April 25, 2026 Quinton wrote:

https://yelenaynatalia.jiliblog.com/96857748/4
One mother's blush apparel appeared lovely in opposition to these two brides' romantic wedding
dresses.

On April 25, 2026 Ava wrote:

https://ameblo.jp/dorapspero9985/entry-12959541948.html
However, many modern girls use this advice as more of a guideline than a strict rule.

On April 25, 2026 Glenn wrote:

https://wilonawroger3767.bcz.com/2026/03/14/1-5/
Whatever the state of affairs, when you are in a position to
attend a marriage, you’ll want to look your best.

On April 25, 2026 Yvette wrote:

https://odessawclay4438.wordpress.com/2026/03/06/1/
A structured gown will at all times be flattering,
particularly one which nips you at the waist like this stylish frock from Amsale.

On April 25, 2026 Herbert wrote:

https://theamtrina.amebaownd.com/posts/58646042
Even as a guest to a wedding I really have made a few mistakes up to now.

On April 25, 2026 Marty wrote:

https://classic-blog.udn.com/42f543e3/188154709
Beading in tones of blue, gray, and silver add dimension and sophisticated sparkle to this flattering mesh column robe.

On April 25, 2026 Oscar wrote:

https://abyssinian-echo-a8c.notion.site/328f68cf111b8041ac07fd76fd6559c8
Adhere to the costume code, and look to bridesmaids or the
wedding gown for steering on daring patterns or elaborations.

On April 25, 2026 Dessie wrote:

https://bennyjnabila8388.exblog.jp/34644216/
My daughter desires of a marriage on a beach in Bali, so where will that depart me I wonder.

On April 25, 2026 Charissa wrote:

https://jaimaqpenny7845.aioblogs.com/93145077/
Give them glitz and glam on this allover sequin stunner.

On April 25, 2026 Reggie wrote:

https://lalatophira9864.amebaownd.com/posts/58657992
Tadashi Shoji is a good name to look out for should you're on the
hunt for a designer dress.

On April 25, 2026 Damian wrote:

https://ilonamjonathan.exblog.jp/34712390/
With palm leaf décor and a lot of vines, green was
a major theme all through this charming and colorful South Carolina celebration.

On April 25, 2026 Joel wrote:

https://classic-blog.udn.com/91352224/187884145
Karen Kane has stunning options that look somewhat
extra casual if you are not looking for a full robe.

On April 25, 2026 Ferne wrote:

https://johnfesta8668.jimdofree.com/2026/03/31/3/
Preferably not be all black as which will suggest mourning.

On April 25, 2026 Mohammed wrote:

https://coming-nedi-tpxzm0zv.dcms.site/
One mother's blush apparel appeared lovely against these two brides' romantic wedding
attire.

On April 25, 2026 Kenneth wrote:

https://classic-blog.udn.com/68742d32/187446049
You don’t want to wear shiny pink for instance, if the type of the day is more natural and muted.

On April 25, 2026 Ben wrote:

https://perpetual-temple-add.notion.site/32c6bbbb46e980cca695f14d89c978eb?pvs=73
This mom of the bride outfit channels pure femininity.

On April 25, 2026 Jerry wrote:

https://bouckgreginald5648.bcz.com/2026/03/02/1/
Express your love with handmade Valentine's crafts like paper playing cards, reward concepts, and decorations.

On April 25, 2026 Robin wrote:

https://silviahpearl4889.bcz.com/2026/03/19/5/
Most of the mixtures I function right here come with great jackets.

On April 25, 2026 Brandon wrote:

https://classic-blog.udn.com/5cfb1fbe/187994096
You can also coordinate with the MOB to make sure your choices complement each other.

On April 25, 2026 Otilia wrote:

https://classic-blog.udn.com/5344e4da/187685196
Don’t be concerned with having every thing match perfectly.

On April 25, 2026 Ryan wrote:

https://classic-blog.udn.com/28e7488d/187128578
Although it’s perfectly fantastic to wear pants at the marriage ceremony, nothing says party like as a costume.

On April 25, 2026 Sonia wrote:

https://classic-blog.udn.com/d644f9b0/186777860
Embellished with lovely ornate beading, this gown will catch the light from every angle.

On April 25, 2026 Hildred wrote:

https://ilonamjonathan.amebaownd.com/posts/58697254
The factor about the gold hue is that it is naturally attractive!

On April 25, 2026 Rosetta wrote:

https://mikaddarryl4898.jimdofree.com/2026/03/19/5/
This costume is on the market in sizes 2 – 22 to suit a wide selection of physique styles.

On April 25, 2026 Johnathan wrote:

https://fredacabigail8885.bcz.com/2026/03/26/1-4/
Guests love to look at the enjoyment and satisfaction appear on your face as you watch your daughter marry their best friend.

On April 25, 2026 Earnest wrote:

https://classic-blog.udn.com/cea193b5/187193025
This black dress is ideal if you're in search of one thing more basic.

On April 25, 2026 Veda wrote:

https://classic-blog.udn.com/8967b6cd/187957077
As versatile as is elegant, this icy blue frock is the right transition piece to take you from the ceremony to the reception.

On April 25, 2026 Charla wrote:

https://classic-blog.udn.com/8bd4bb36/187557761
Some girls choose to wear a gown, whereas others favor separates…and both are nice options!

On April 25, 2026 Maybell wrote:

https://petenbryant4697.amebaownd.com/posts/58596542
The straps and sleeves you select for your costume will affect the neckline and
form of your gown.

On April 25, 2026 Adriana wrote:

https://mathewhkate4786.wordpress.com/2026/03/10/2/
Neither a daytime occasion nor a proper summer evening soiree requires a full-length gown.

On April 25, 2026 Berniece wrote:

https://classic-blog.udn.com/8967b6cd/187956960
Exude Mother of the Bride magnificence in this lovely patterned robe from wedding ceremony visitor gown powerhouse Karen Millen.

On April 25, 2026 Dante wrote:

https://dorapspero9985.jimdofree.com/2026/03/12/4/
Fall and winter weddings name for chic muted tones like
silvery gray.

On April 25, 2026 Iola wrote:

https://classic-blog.udn.com/fbfe485d/187523214
Here are 10 of one of the best mom of the bride attire
for this year.

On April 26, 2026 Kristan wrote:

https://sites.google.com/view/marketing-0305/page-22
Shop beautiful wedding dresses for the mother-of-the-bride in commonplace, plus and petite sizes at Adrianna Papell.

On April 26, 2026 Ashlee wrote:

https://classic-blog.udn.com/4a1fd036/187737345
Take this easy however fashionable knee-length marriage ceremony visitor dress for the mother-of-the-bride.

On April 26, 2026 Rodrigo wrote:

https://mceachenqwv6873.collectblogs.com/84506836/
Our top-rated sizes vary from 00 – 32 to additionally embody petite merchandise.

On April 26, 2026 Kimberley wrote:

https://aemiliacerika9489.wixsite.com/my-site-1/post/____1-5
Carrie Crowell had come across the silk costume that her mother, nation singer Rosanne Cash,
wore at her 1995 marriage ceremony to Carrie's stepfather.

On April 26, 2026 Lilia wrote:

https://eddarhayley4476.jimdofree.com/2026/03/30/1/
"I wanted my women to have enjoyable," the bride stated of the choice.