moban icon indicating copy to clipboard operation
moban copied to clipboard

Provide predefined template type

Open ayan-b opened this issue 6 years ago • 3 comments

Since moban supports user-defined template type, we can provide users with some predefined template types. The most obvious one being latex. Needs discussion on the possible syntax.

ayan-b avatar Mar 03 '19 16:03 ayan-b

What do you think about the syntax?

ayan-b avatar Mar 03 '19 18:03 ayan-b

This issue could be by-product of the resolution of #126

Imagine #126 be implemented, moban python package should then include a list of yaml files which provides custom template definitions, etc. One of them could be latex definition. I would think it will looks no different to its current form:

latex.yaml

configuration:
  template_types:
    latex:
      ..
      (ayan-b, could you fill these blanks)
      ..

Then, in user's moban file:

overrides:
   latex.yaml: configuration

chfw avatar Mar 04 '19 07:03 chfw

Yup, this is a good idea. I am assigning that issue to myself.

ayan-b avatar Mar 04 '19 16:03 ayan-b