cards.py icon indicating copy to clipboard operation
cards.py copied to clipboard

Default templates

Open jhauberg opened this issue 9 years ago • 1 comments

I find that the hardest part about making a template is taking the first step. Maybe the project could come with a set of pre-defined, typical-looking, templates ready for use?

This can be accomplished in different ways:

  • Including the templates as optional files that you can copy-paste to your project
    • Allows tweaking to your specific needs
  • Including the templates as keywords: e.g. "@template,{{ default-magic }}", or simpler: "@template,magic"
    • Allows instant use- good for simple prototyping
    • But troublesome as soon as you want to tweak stuff
  • Both?

jhauberg avatar Aug 05 '16 11:08 jhauberg

This could be combined with #38. Consider determining which fields a row has, then finding the most fitting default template and using that. This would allow for prettier looking output for certain cases.

jhauberg avatar Aug 26 '16 09:08 jhauberg