Skip to content

Non-English Tutorial Section Images Render Markup #2206

Closed

Description

@scottilee

🐛 Bug Report

Images in the tutorial section of https://docusaurus.io display larger and with markup {.docImage} if viewed in any language other than English.

Have you read the Contributing Guidelines on issues?

Yes.

To Reproduce

(Write your steps here:)

  1. Navigate to https://docusaurus.io/docs/en/tutorial-setup
  2. Click "English" in the top navigation and switch to any non-English language
  3. When the page reloads images will be larger and there will be {.docImage} markup below the image

Expected behavior

When viewing the tutorial section in any non-English language there should be no {.docImage} markup below images and images should not change size.

Actual Behavior

When viewing the tutorial section in any non-English language there is {.docImage} markup below images and images change size.

Reproducible Demo

(a) what it looks like for English and should look like for any language
Screen Shot 2020-01-11 at 12 35 34 AM

(b) what it looks like for non-English
Screen Shot 2020-01-11 at 12 36 41 AM

Activity

  1. added
    bug
    status: needs triage
    on Jan 11, 2020
  2. added
    v1
    on Jan 13, 2020
  3. Tarektouati commented on Jan 13, 2020

    @Tarektouati

    Can I work on this?

  4. scottilee commented on Jan 14, 2020

    @scottilee
    ContributorAuthor

    @Tarektouati Of course, just assign it to yourself and provide updates here.

  5. yangshun commented on Jan 14, 2020

    @yangshun
    Contributor

    @Tarektouati go ahead

  6. Tarektouati commented on Feb 4, 2020

    @Tarektouati

    @yangshun Hey! I have been trying to reproduce the same bug as in the issue with multiple translations.
    Sadly, I couldn't reproduce it, if not maybe it's the crowdin translated files could be buggy.
    Thanks

  7. removed
    status: needs triage
    on Jun 5, 2020
  8. yangshun commented on Jun 5, 2020

    @yangshun
    Contributor
  9. added
    difficulty: intermediate
    on Jun 5, 2020
  10. slorber commented on Aug 21, 2020

    @slorber
    Collaborator

    Will not happen on v2 because MDX does not permit to add such things like {.docImage}

  11. slorber commented on Jan 15, 2021

    @slorber
    Collaborator

    It's indeed a crrowdin issue:

    image

    image

    Not sure we'll be able to do anything about it without somehow resetting the doc on crowdin side.

    Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdifficulty: intermediatev1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions