Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spaceship with "Minimal Mistake" theme #64

Open
catalinnick opened this issue Oct 25, 2021 · 2 comments
Open

Spaceship with "Minimal Mistake" theme #64

catalinnick opened this issue Oct 25, 2021 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@catalinnick
Copy link

catalinnick commented Oct 25, 2021

Hello,
I've forked Academic Pages Repo and wanted to use diagrams. I have added your gem in the gemfile and config.yml:

# If you have any plugins, put them here!
group :jekyll_plugins do
  # gem "jekyll-archives"
  gem "jekyll-feed"
  gem "jekyll-sitemap"
  gem "hawkins"
  gem 'jekyll-spaceship'
  # gem "jekyll-mermaid"
end

gemfile

# Plugins
plugins:
  # - jekyll-paginate
  - jekyll-sitemap
  - jekyll-gist
  - jekyll-feed
  - jekyll-redirect-from
  - jekyll-spaceship
# mimic GitHub Pages with --safe
whitelist:
  # - jekyll-paginate
  - jekyll-sitemap
  - jekyll-gist
  - jekyll-feed
  - jemoji
  - jekyll-spaceship

config.yml

But I haven't manage to render the mermaid diagram:

```mermaid!
pie title Pets adopted by volunteers
  "Dogs" : 386
  "Cats" : 85
  "Rats" : 35

Perhaps I'm missing some key elements, I'm quite new to Gh-pages with jekyll.

@jeffreytse jeffreytse self-assigned this Oct 25, 2021
@jeffreytse jeffreytse added the good first issue Good for newcomers label Oct 25, 2021
@jeffreytse
Copy link
Owner

Hi @catalinnick

Because GitHub Page has limitation, please see here, you should use a GitHub Action to settle your issue.

Thanks and Regards

@catalinnick
Copy link
Author

Hi @jeffreytse
I've been trying for days and week and still can't use mermaid, I don't know what key element I'm missing:
I used your theme with TravisCI in hopes will work but when I use the following code:

```mermaid!
pie title Pets adopted by volunteers
  "Dogs" : 386
  "Cats" : 85
  "Rats" : 35

Still doesn't render:
image

Do I need to declare something at the begging of .md page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants