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

[Bug] Inline triple colon images break formatting #8999

Closed
rgarrity opened this issue Jul 22, 2023 · 0 comments · Fixed by #9000
Closed

[Bug] Inline triple colon images break formatting #8999

rgarrity opened this issue Jul 22, 2023 · 0 comments · Fixed by #9000
Labels
bug A bug to fix markdown Authoring and presenting content using markdown

Comments

@rgarrity
Copy link
Contributor

Describe the bug
Markdown formatting (e.g., bold & italics) are lost following a triple-colon image

To Reproduce
Steps to reproduce the behavior:

  1. Save this icon to your images folder in a DocFX project: image
  2. Copy the following into an MD file in the same DocFX project: **CONTACT POINT** Use the :::image type="icon" source="../images/copy.png"::: button on the right side of the screen to copy the top value, **CONTACT POINT** . Save.
  3. Serve the project locally (docfx docfx.json --serve).
    Below is a screenshot of the output (bug). Note that the second CONTACT POINT is not in bold; that is, the asterisks carried over to the output.

image

Expected behavior
I expect **CONTACT POINT** to render as CONTACT POINT (in bold); however, only the first reference is in bold. The second reference, following the image, is displayed with the asterisks instead of bold.

Context (please complete the following information):

  • OS: Windows 10
  • Docfx version: 2.67.5

Additional context

@rgarrity rgarrity added the bug A bug to fix label Jul 22, 2023
@yufeih yufeih added the markdown Authoring and presenting content using markdown label Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug to fix markdown Authoring and presenting content using markdown
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants