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.

Include `.mdx` files in the pick list and URL checking

See original GitHub issue

Hi Artem, I have a mix of .md and .mdx files. When I link to a .mdx file Marksman shows a warning for a non-existent document. Marksman also does not include the .mdx files in the pick list when I start typing the path. I could not find in your code where the list is restricted to .md or I would have tried to write a PR.

I added ‘nathom/filetype.nvim’, and set .mdx to markdown, so Marksman is in use in the mdx files, but that did not help in getting the mdx files recognized from a link in a .md file.

Thanks again!

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
DanRoscignocommented, Nov 21, 2022

Yes, mdxjs. Popular in docusaurus

1reaction
DanRoscignocommented, Nov 25, 2022

@artempyanykh , I do not see any difference. Do I need a .marksman.toml at the root of the repo I am working in? I added one with this content, but that did not change it either:

[core]
markdown.file_extensions = ["md", "markdown", "mdx"]
Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started
This article explains how to integrate MDX into your project. It shows how to use MDX with your bundler and JSX runtime of...
Read more >
Build and Deploy a Next.js Blog with Remote MDX ... - YouTube
Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap Build and Deploy a Next.js blog with Remote MDX Content Files ...
Read more >
How to add images to .mdx files · Issue #316 · doczjs/docz
I'm trying to find a way to add an image to /public/ and then display it via markdown in the .mdx file. 1...
Read more >
Adding MDX Pages
Writing pages in MDX​​ gatsby-plugin-mdx looks for MDX files and automatically transpiles them so that Gatsby can render them. Make sure to parse...
Read more >
MDX
This MDX file references a story file, Checkbox.stories.js|ts , that is written in Component Story Format (CSF): This example uses Component Story Format...
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