equinor / webviz-config

Make Dash applications from a user-friendly config file :book: :snake:
https://github.com/orgs/equinor/projects/24
MIT License
54 stars 39 forks source link

Markdown from files #18

Closed HansKallekleiv closed 5 years ago

HansKallekleiv commented 5 years ago

A user wants to render a markdown text file Currently markdown can be added as individual lines in the config file. This gets messy for large sections of text.

anders-kiaer commented 5 years ago

I think it is a good addition.

The path to a given markdown file listed in the configuration file should probably be given by the user as either absolute path, or relative to the configuration file.

Should e.g. images or other resources stated in the included markdown files be relative to the markdown file it is used in, or relative to the configuration file where the markdown file is imported?

From developers point of view I guess the former is most common (i.e. imports are relative to the file actually requesting the imports). Will it be also the best option for the webviz-config end-user?