phoenix_markdown icon indicating copy to clipboard operation
phoenix_markdown copied to clipboard

Render markdown from nested directories

Open snowe2010 opened this issue 3 years ago • 0 comments

Is there any way to render markdown from nested directories? I have categories of markdown pages that I want to store, something like:

  category_controller.ex
  category1
   |--- index.html.md
   |--- page1InCat1.html.md
   |--- page2InCat1.html.md
   |--- page3InCat1.html.md
   |--- ...
  category2
   |--- index.html.md
   |--- page1InCat2.html.md
   |--- page2InCat2.html.md
   |--- page3InCat2.html.md
   |--- ...

but I would like to both store these md files elsewhere besides next to the controller, and also render nested markdown files, which currently doesn't seem to work.

snowe2010 avatar Oct 25 '21 01:10 snowe2010