Skip to content
Snippets Groups Projects
  1. Aug 22, 2022
  2. Aug 12, 2022
    • Matt Wang's avatar
      `mermaid`: refactor config to use `mermaid_config.js` include, only require... · e2f1546c
      Matt Wang authored
      `mermaid`: refactor config to use `mermaid_config.js` include, only require `mermaid.version` in `_config.yml` (#909)
      
      This PR has a bit of scope creep! This PR now:
      
      - changes the mermaid opt-in logic to only check for the existence of a `mermaid` key instead of `mermaid != false`: this resolves the follow-up in #857
      - changes the behaviour of mermaid configuration
          - instead of using `mermaid_init.html` with default settings, makes the include `mermaid_config.js`
          - the include is loaded directly into the contents of `mermaid_initialize`
          - by default, it is an empty object (i.e. `{}`), triggering the defaults
      - updates docs
      - adds an example to the markdown kitchen sink  
      
      It does significantly change the interface provided in #857, and I apologize for the confusion. However, given the discussion in this PR, I think it's the best move forward!
      Unverified
      e2f1546c
  3. Jul 12, 2022
  4. Jul 04, 2022
  5. Mar 09, 2022
  6. Sep 14, 2020
  7. Sep 11, 2020
  8. Aug 10, 2020
  9. Jun 27, 2020
  10. Jun 01, 2020
  11. May 01, 2020
  12. Jan 14, 2019
  13. Nov 19, 2018
  14. Nov 16, 2018
  15. Oct 23, 2018
  16. Jun 04, 2017
  17. Mar 27, 2017
  18. Mar 24, 2017
  19. Mar 09, 2017
Loading