Giter Club home page Giter Club logo

discourse-mermaid's Introduction

unfoldingWord

discourse-mermaid's People

Contributors

jag3773 avatar jjaffeux avatar rishabhlakhotia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discourse-mermaid's Issues

Dark theme?

On our Discourse forum I've received a couple requests to support our dark mode theme for Mermaid diagram. I notice that the colours of everything are targeted with inline styles. Is this a function of MermaidJS itself, or the discourse-mermaid plugin?

Thanks for this plugin! It's super useful.

Article post returns "422: Unprocessable Entity" response.

Posting to our self-hosted discourse server caused a Status code: 422: Unprocessable Entity response.

We have installed your module via the app.yml file and installed as per your readme. We had several mermaid blocks in the article we were trying to publish, but through trial-and-error identified the issue was with only a specific block of mermaid (names have been made generic):

  sequenceDiagram
    participant data_events_topic  AS Relation Tree topics
    participant data_events_consumer  AS Relation Tree Events consumer
    participant our_hub_db AS our Notifications Hub DB
    participant our_hub_processor AS Behavioural Notifications Processor
    participant cdp_api AS CDP API
    participant our_gate AS our Gate
    participant our_api AS Iterable (our API)

    data_events_topic->>data_events_consumer: Consumes event for new data (or other) event
    Note over data_events_topic,data_events_consumer: Consumes from Relation events Topics

    data_events_consumer->>our_hub_db: Store event in the DB

    our_hub_processor->>our_hub_db: Waits X minutes and then selects any un-sent datas
    our_hub_processor->>cdp_api: Potentially makes a call to gather more information about the data / user
    Note over our_hub_processor,cdp_api: TBC how this works in practice

    our_hub_processor->>our_gate: Creates the data notification(s) in our system
    our_gate->>our_api: Adds the notification(s) to the our system

After posting the article without the offending block, manually adding it with the mermaid tags as per the usage guide also fails to render.

Discourse Version: 3.1.0.beta1

Update mermaidjs version

Hi there,

I notice that the bundled mermaidjs is quite an old version. Do you consider updating it to the latest 8.5.0 ?

Yours,
Justin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.