Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

emoji not being printed/rendered #7269

Closed
3 of 4 tasks
Masber opened this issue Jun 16, 2024 · 1 comment
Closed
3 of 4 tasks

emoji not being printed/rendered #7269

Masber opened this issue Jun 16, 2024 · 1 comment

Comments

@Masber
Copy link

Masber commented Jun 16, 2024

Context

I am learning material mkdocs and trying to create a document with an emoji.
https://github.com/eth-cscs/manta/blob/docs/docs/basics.md?plain=1#L17

When I open this md file in browser in github, I can see the emoji https://github.com/eth-cscs/manta/blob/docs/docs/basics.md
image
https://github.com/eth-cscs/manta/blob/docs/docs/basics.md#set-boot-image

However, the emoji is not rendered when opening the static document rendered by material mkdocs

https://eth-cscs.github.io/manta/basics/

Any idea why?

Bug description

I can't see emoji in my material mkdocs page

Related links

Reproduction

  1. Create a md file like below:
## List images

## List cluster details/summary

## List hardware information

## Set runtime configuration

## Set boot image

> :warning: **Highly discourage**: only do this if sessions in the system has been deleted

## Set boot configuration

## Set kernel parameters
  1. Set github workload as below
❯ cat .github/workflows/docs.yml
name: docs
on:
  push:
    branches:
      - master
      - main
      - docs
      - gh-pages
permissions:
  contents: write
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Configure Git Credentials
        run: |
          git config user.name github-actions[bot]
          git config user.email 41898282+github-actions[bot]@users.noreply.github.com
      - uses: actions/setup-python@v5
        with:
          python-version: 3.x
      - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
      - uses: actions/cache@v4
        with:
          key: mkdocs-material-${{ env.cache_id }}
          path: .cache
          restore-keys: |
            mkdocs-material-
      - run: pip install mkdocs-material
      - run: mkdocs gh-deploy --force
  1. git add, git commit and git push

  2. wait page to render

  3. open link

https://eth-cscs.github.io/manta/basics/

Steps to reproduce

above

Browser

Chrome

Before submitting

@squidfunk
Copy link
Owner

Converting to discussion, as this is definitely not a bug.

Repository owner locked and limited conversation to collaborators Jun 16, 2024
@squidfunk squidfunk converted this issue into discussion #7270 Jun 16, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
2 participants