obsidian-hub icon indicating copy to clipboard operation
obsidian-hub copied to clipboard

Make jinja templates modular:

Open claremacrae opened this issue 4 years ago • 2 comments

  • change templates to only update parts of it using jinja blocks
  • different templates for new plugin and updating plugin (based on regex and headers + individual blocks)

claremacrae avatar Dec 11 '21 13:12 claremacrae

If we add %% Hub ....%% dividers for each individual file, it should be possible to update anything contained between those comments. Updating the templates with these dividers is probably the next step.

This would help with #150 and #166

argenos avatar Dec 27 '21 18:12 argenos

If we add %% Hub ....%% dividers for each individual file, it should be possible to update anything contained between those comments. Updating the templates with these dividers is probably the next step.

This would help with #150 and #166

I do think that's a good idea...

Did we settle on some wording for those comments that is not confusing to contributors?

claremacrae avatar Dec 27 '21 19:12 claremacrae