Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown support #146

Open
AnatoleLucet opened this issue Jun 22, 2020 · 0 comments
Open

Markdown support #146

AnatoleLucet opened this issue Jun 22, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@AnatoleLucet
Copy link
Collaborator

AnatoleLucet commented Jun 22, 2020

At first I thought it was dumb, but after thinking about it ... I think it could be a nice feature for those big documentations.

A little example:

docs/
├── main
│   ├── introduction.md
│   └── conclusion.md
└── main.md

main.md

# My brand new doc!

## Table of contents
- [Introduction](./main/introduction.md)
- [Conclusion](./main/conclusion.md)

Here's the kind of imports Destiny should resolve (also works with folders):

  • ./something.md
  • something.md
  • ../something.md

Notice that a markdown file can be linked without specifying a ./. Destiny is currently ignoring imports that are not starting by ./ or ../ because in js / js-like it means it's an import of a module. I think we should work on that so it will be easier to add more languages.

@AnatoleLucet AnatoleLucet added the enhancement New feature or request label Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant