How to import markdown files
See original GitHub issueWhat is the best way to import a markdown file?
I have markdown files in the app/pages/
directory and want to import them.
I’d like to use these markdown files for frontend texts with using Python-Markdown.
I tried this but didn’t work:
readme_file = open("./pages/about.md", "r")
md_template_string = markdown.markdown(
readme_file.read()
)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Import Markdown files - Nuclino Help Center
To import Markdown files ... Alternatively, click on the red plus symbol, select Import..., click on Upload files(s), select the exported document, and...
Read more >Markdown and including multiple files - Stack Overflow
The short answer is no. The long answer is yes. :-) Markdown was designed to allow people to write simple, readable text that...
Read more >Importing Markdown Files - MadCap Flare's Online Help
How to Import Markdown Documents · Select Project > Import > Markdown Documents. · In the wizard, choose either Import into a new...
Read more >Getting Started | Markdown Guide
If you decide you don't like the Markdown application you're currently using, you can import your Markdown files into another Markdown application.
Read more >Import markdown files - Notejoy
Import markdown files · Select Import Notes from the user menu in the bottom-left corner of Notejoy · Select the target notebook for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ycd Thank it worked.
@shinokada well this is jıst a
FileNotFoundError
.Change the path to
app/pages/about.md
I’m not sure though but you need to change the path.