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.

Separate .md files for markdown

See original GitHub issue

Rather than have the markdown content as strings inside of JavaScript (which is annoying for escaping and highlighting, and might make translation tooling harder) we should be extending the webpack configuration with raw-loader, have .md files, import them and wrap them in react-markings!

We might even be able to do it automatically so that we don’t have to do the wrapping manually for each .md file? There’s gotta be a webpack plugin for that! 😉

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mxstbrcommented, Oct 5, 2017

They’re still .js files as far as I can tell 🤔

0reactions
imbhargav5commented, Nov 12, 2018

This has been fixed by @mxstbr . We now use .md|.mdxfiles.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Markdown and including multiple files - Stack Overflow
Specifically, I want to create a separate markdown file with links that I call often but not always (call this B.md), then when...
Read more >
Is there a way to include Markdown files inside other Markdown?
Simplest solution would be to just preprocess the files using a template language like Mustache, though it's not always the most ideal solution....
Read more >
Getting Started | Markdown Guide
Using Markdown is different than using a WYSIWYG editor. In an application like Microsoft Word, ... The file should have an .md or...
Read more >
accraze/split-md: Split a Markdown file into smaller files - GitHub
NodeJS CLI that splits a Markdown file into smaller files based on a given delimiter. It's basically str.split(pattern) for .md files.
Read more >
Markdown file inclusion · Paradox
Paradox is a markdown documentation tool for software projects. ... This will load and render includes/my-file.md at the location of the include.
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