Calendar plugin error: div_calendar_wrap not supported by Markdown parser

AI-generated summary

A user, carolinasilva, reports an issue with the Discourse Calendar plugin on a hosted instance, where the [calendar] shortcode fails to render due to a Markdown parser error: Token type div_calendar_wrap not supported. Despite correct plugin and setting configurations, the calendar block appears as plain text. chapoi suggests the problem may stem from the new editor improperly handling the shortcode, recommending switching to the markdown editor and re-pasting the code. tobias follows up to check if the issue was resolved.

Hi Discourse team,

We’re on official Discourse hosting and trying to enable the Discourse Calendar plugin.

Here’s what we’ve done so far:

  • Plugin is installed and enabled (verified in Admin → Plugins).

  • calendar enabled and discourse post event enabled are both turned on.

  • Groups allowed to create events are set.

  • Added [calendar] ... [/calendar] in the first post of a topic.

  • Mapped it correctly in settings with categoryId=5;postId=70.

But whenever we save the post, we get this error:

Token type `div_calendar_wrap` not supported by Markdown parser

The calendar block just displays as plain text, and events won’t render.

  • No custom theme components are installed.

  • Using the default theme.

  • Issue happens consistently.

Is it possible the plugin’s Markdown extension isn’t loading correctly on our hosted instance? Could you please check the configuration on the backend?

Thanks a lot for your help!

Hi!
We’re aware that our new editor is acting a bit finicky with these wraps, and it might be adding backticks or backslashes that aren’t supposed to be there and break things.

Can you switch to the markdown editor (top left toggle in the composer toolbar) and paste the

[calendar]
[/calendar]

again. Does that work?

@carolinasilva were you able to resolve your issue?