Jump to content

2nd line indent in markdown block

Go to solution Solved by Nimay,

Recommended Posts

Posted

Hi everyone,

In a webpage where I list publications by year I changed from regular text blocks to markdown blocks because of frustrating experience with the fluid engine in case of many text blocks that should be aligned.

I had a small CSS code (see below) to indent the second line in each text block before but now on my markdown blocks it does not apply anymore. Is there a way to use CSS to format the text in markdown blocks too? or is there a way to code it directly in the markdown block?

section[data-section-id="65c10c70546d2c05cf4304cf"]
p {
   text-indent: -20px;
   padding-left: 20px;
   margin-block-start: 1em; /*space at the top of every paragraph */
   margin-block-end: 1em; /* space at the bottom of every paragraph */
}

 

Webpage: https://plane-llama-a88g.squarespace.com/config/
Password: markdown

Thanks a lot for any help!

Nicola

  • Replies 1
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.