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

Fix error when rendering fenced code block with wierdly formated dictionary in doc.md file #29857

Open
PieterCK opened this issue Apr 26, 2024 · 2 comments

Comments

@PieterCK
Copy link
Collaborator

PieterCK commented Apr 26, 2024

There's an error when one tries to render a dictionary with double curly braces with multiple words inside it inside a fenced code block.

problematic fenced code block if used in API doc markdown:

 {
    "id": {{ json issue }},
  }

this block is rendered properly in the API doc markdown:

 {
    "id": {{ issueId }},
    "json": {{ json }}
  }

error screen shot:

image
error from lint:

image

CZO thread

@zulipbot
Copy link
Member

Hello @zulip/server-api members, this issue was labeled with the "area: documentation (api and integrations)" label, so you may want to check it out!

@rs545837
Copy link
Collaborator

@zulipbot claim

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

No branches or pull requests

4 participants