question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MDXTag Syntax Error on empty anchor tags

See original GitHub issue

I’ve been using mdx via the docz project and I was going to add a page for our changelog on a monorepo project that gets generated by lerna, but it appears that the Markdown file generated is not parseable by mdx.

Syntax Error: SyntaxError: /Users/wellingtoncordeiro/Documents/projects/my-proj/CHANGELOG.md: Expected corresponding JSX closing tag for <MDXTag> (24:0)

  22 | Features
  23 |
> 24 | </a>
     | ^
  25 | Change Log
  26 |  (2018-09-04)
  27 |


 @ ./docs/changelog.mdx 9:0-40 22:25-34

Example MD that broke when parsed.

# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="11.0.1"></a>
## [11.0.1](https://gitlab.com/group/proj/compare/v11.0.0...v11.0.1) (2018-09-10)


### Bug Fixes

This may well be a problem with the Markdown that Lerna/commitizen generates and if so I can report upstream but it seems weird to break on the tag.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
silvenoncommented, Nov 4, 2018

I’ll close this issue for now because we haven’t found out how to reproduce it in mdx, only docz, so it should be tracked there.

1reaction
wldcordeirocommented, Sep 17, 2018

Thanks @silvenon sorry as well. I see you found a few breaking variants

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Where are these empty anchor tags coming from?
Got it, simple syntax error and the browser was creating the empty <a></a> tags to try and compensate for the mismatched elements.
Read more >
Troubleshooting MDX
This article goes through several common problems and errors that might occur when using MDX.
Read more >
Beginning Data Objects in dBASE
This document is designed to help a developer new to the Visual dBASE 7 environment understand the data objects. These objects are necessary ......
Read more >
The dBASE - Language Handbook - Terrella Media, Inc.
SYNTAX : APPEND [BLANK]. DEFINITION: Adds a new record to the end of a database. Opens a full screen with field name prompts...
Read more >
The Minimum You Need to Know
the publisher for any errors, omissions, losses, or other financial ... Visit http://www.theminimumyouneedtoknow.com to find a download link if you don't ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found