Skip to content
Grav 2.0 is officially stable. Read the announcement →
Installation & Hosting

Markdown not parsed after upgrade to 2.0

Solved by Paul Hibbitts View solution

Started by antoinep 1 month ago · 8 replies · 567 views
1 month ago

Hello,

I'm triing to migrate my Grav website to 2.0, I'm at the "Step 5: Test the staged install" step and most things look good... but my pages content is displayed in raw markdown, without parsing.

If I get on a specific page to Advanced > Overrides and check de Process checkbox with Markdown checked, it start working. The Content > Process > Markdown checkbox is enabled in the configuration.

I tried creating a new blank page and inserting a basic "# My title" in, no difference with my existing pages migrated from existing install.

In the admin panel if I check de preview mode I get a good display with titles, bullets lists, images... it just doesn't work in the normal display of the pages.

1 month ago

Hmm. if it was outputting in raw HTML I would think its your theme being old and not outputting HTML content with |raw filter. But not converting to HTML at all is quite odd. In your "Configuration -> System -> Content" section of the admin is the "Process: markdown" toggled on?

1 reply
1 month ago antoinep Yes "Process: markdown" is toggled on in system configuration. I changed the theme to Quar…

@antoinep said:

Yes "Process: markdown" is toggled on in system configuration.\
I changed the theme to Quark (v2.1.2), it doesn't change the behaviour.

Make sure you are in 'default' configuration in the top bar of the admin2 UI, that's your environment. maybe your have an environment configuration where that system setting is disabled. If you want, upload your site to some shared service, and PM me a link and i'll download and look.

last edited 06/22/26 by Andy Miller
1 month ago

Addendum

Before the purists comment - yes Learn2 does have the correct 'raw' included, but I created a linked theme and my tweaked template did not.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by Jürgen Dietrich, 8 months ago
0 348 8 months ago
Installation & Hosting · by rappluk, 9 months ago
0 397 9 months ago
Installation & Hosting · by N, 1 year ago
3 333 1 year ago
Installation & Hosting · by Youle, 1 year ago
1 254 1 year ago
Installation & Hosting · by Jonas Bertschinger, 1 year ago
3 384 1 year ago