Problem/Motivation

D2 is intended to provide developers with a succinct syntax to define diagrams. Providing a text filter would make this available to Drupal content editors.

Proposed resolution

We should be able to model this on the Mermaid Filter. However, we should be able to use shell_exec (or similar) to generate an SVG that we inject directly. Later, we can cache the resulting SVG.

Remaining tasks

TBD

Comments

ergonlogic created an issue. See original summary.

ergonlogic’s picture

ergonlogic’s picture

Version: » 1.0.x-dev
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • ergonlogic committed 593360b4 on 1.0.x
    feat: #3565333 Make d2_filter depend on d2 module.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.