Closed anasram closed 4 years ago
It's the Parsedown extension. It's extending from Parsedown
, not from ParsedownExtra
, consequently you can't use any of ParsedownExtra
's features. Try replacing the line
class FigureExtParsedown extends Parsedown {
by
class FigureExtParsedown extends ParsedownExtra {
However, no guarantees, I haven't tested this, Pico 2.1 includes Parsedown 1.8, which changed some internal functions which might break existing Parsedown extensions.
Thanks! It solved the IDs' problem.
However, for definition lists, the problem persists.
Lorem ipsum dolor sit amet
: Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
results in
in Pico 2.1.0-beta.1 when using ParsedownExtra
, so it looks like the Parsedown extension somehow prevents ParsedownExtra
from properly handling the definition lists. Contact the Parsedown extension's developer.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1:
Pico version: 2.1.0-beta.1
When I use
FigureExtParsedownPicoPlugin
, elements' IDs in markdown don't be converted to HTML ones.For example:
doesn't look in HTML like this:
rather, it remains like this:
However, when I remove
FigureExtParsedownPicoPlugin
, it works properly.Definition lists have the same problem.
Is it Pico's fault? or Parsedown's, or it is the plugin itself?