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 3 weeks ago · 8 replies · 364 views
3 weeks 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.

3 weeks 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?

3 weeks ago

Yes "Process: markdown" is toggled on in system configuration.

I changed the theme to Quark (v2.1.2), it doesn't change the behaviour.

3 weeks ago Solution

During my many test upgrades I had something like this happen twice - if I recall correctly, I used the "Reset Overrides" under "Configuration" in the Admin Panel and with a Browser hard-refresh Markdown once again displayed as expected. YMMV.

👍 2
3 weeks ago

@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
3 weeks ago

The "Reset overrides" button got it back on track, thanks !

👍 1
3 weeks ago

I can confirm, I had exactly same problem, with an older theme - learn2

it loaded the page content in the template 'partials/page.html.twig' using

TWIG
{{ page.content }}

which showed all the yaml as text - changed it to

TWIG
{{ page.content|raw }}

which fixed it

last edited 06/23/26 by Jerry Hunt
3 weeks 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.

3 weeks ago

I came to this conclusion too. Typhoon Theme. Individual resets didn't track down the culprit. Had to reset overrides all of System.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 224 7 months ago
Installation & Hosting · by rappluk, 9 months ago
0 254 9 months ago
Installation & Hosting · by N, 1 year ago
3 220 1 year ago
Installation & Hosting · by Youle, 1 year ago
1 157 1 year ago
Installation & Hosting · by Jonas Bertschinger, 1 year ago
3 243 1 year ago