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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Content & Markdown

Markdown extra not work

Started by Alex 8 years ago · 6 replies · 2009 views
8 years ago

I can not turn on markdown extra, tried all that found on a forum (probably not all). Changed to pages:markdown:extra: true in system and user, and in the admin panel, but still the switch is gray (screenshot). Checked in the code everywhere "markdown_extra", all ok. Tell me what else I need to check.

I'm sure that everything is simple, but I can not understand what the problem is. For earlier I apologize for inattention)

Thanks for helping.
1_|689x238

8 years ago

Hi,

did you try using it?

It's in gray in my admin but it's working when i'm using it
![Img title](my-img.jpg#center) {.img-center}

8 years ago

Hi all,

everything is alright. The button remains gray because its highlight value is false. You can see it in <YOUR_SITE> /system/blueprints/config/system.yaml 😄

8 years ago

Hi🙂 I thought this was due to a problem)) but markdown extra does still not work😞. Simple operators like h1 and others are working, but I can not make a table, instead of a wand table, although in the admin panel when previewing everything works.21_21h15m32s_001_|690x218

8 years ago

Preview in editor21_21h18m28s_002_|690x167

8 years ago

AFAIK there is no way to add a class to a table in markdown extra.
One possible alternative is to wrap your table in a div

HTML
<div class="divtable" markdown="1"> 

First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell

 </div>

then use the .divtable table { } selector.

👍 1
8 years ago

Thank you very much for the replies, it was some sort of strange error, reinstall entirely grav and and all working again...
but it kind of wrong...

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 8 months ago
6 94 8 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 184 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 146 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 60 1 year ago
Content & Markdown · by belthasar, 1 year ago
4 254 1 year ago