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

Page types #114

Open
DanielHeath opened this issue Jan 30, 2018 · 2 comments
Open

Page types #114

DanielHeath opened this issue Jan 30, 2018 · 2 comments

Comments

@DanielHeath
Copy link
Collaborator

Currently, all pages are just plain markdown, but they can be (eg) published, have meta-info, etc.

They can also be shown as a list, and there's open proposals to add other rendering styles (eg workflowy-style) and non-text file types (file uploads).

With that in mind, would it make sense to have a set of page types:

  • Text (default)
  • List (shows list view by default)
  • Nestable (shows nestable list view once implemented)
  • File (renders an uploaded file)
@schollz
Copy link
Owner

schollz commented Mar 27, 2018

This is a good idea. I think it could be useful to do something like this in the next iteration? I don't know if the logic in the current version is general enough to be compatible.

@DanielHeath
Copy link
Collaborator Author

Having thought about this a bit more, I think each page could have a 'default action' (stored with the page) rather than a page type. That would also make it easier to support #122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants