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

Extend this plugin or create a new one for list rendering #4

Open
emiliorizzo opened this issue Sep 9, 2022 · 0 comments
Open

Extend this plugin or create a new one for list rendering #4

emiliorizzo opened this issue Sep 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@emiliorizzo
Copy link
Collaborator

emiliorizzo commented Sep 9, 2022

The plugin could use the elements tagged by markdown-it-data-blocks
to render autogenerated lists or tables using the blocks metadata as fields

Features needed:

  • Rendering templates
  • Rendering fields selection
  • Sort by field
  • Field aliases / titles
  • Computed fields ? <- They could be coded on templates in the first version

Tagging

[[ blockType#renderingTemplate:fieldsList:sort ]]

Examples:

[[ finding ]]

Using templates:

[[ finding#list ]]
[[ finding#resume ]]

Fields:

[[  finding:id,title  ]]

Sort:

[[finding:id,title:id]]
@emiliorizzo emiliorizzo self-assigned this Sep 9, 2022
@emiliorizzo emiliorizzo added the enhancement New feature or request label Dec 8, 2022
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