adoc-mode icon indicating copy to clipboard operation
adoc-mode copied to clipboard

Replace tempo templates with tempel

Open bbatsov opened this issue 3 years ago • 5 comments

Tempo mode (which adoc-mode uses internally for adoc templates) is quite old and has pretty much no documentation. It seems that Tempel is a nice modern alternative https://github.com/minad/tempel

I guess using Yasnippet or similar is another alternative we can consider.

bbatsov avatar Sep 16 '22 05:09 bbatsov

The tempel-page has its own overview of alternatives: https://github.com/minad/tempel#alternatives

TobiasZawada avatar Oct 07 '22 13:10 TobiasZawada

Tempel seems to be the past of least resistance, but I'm open to other suggestions as well.

bbatsov avatar Oct 07 '22 14:10 bbatsov

Project Tempel have a package tempel-collection like a yasnippet-snippets. I think, we can:

  1. Delete all templates from adoc-mode.el and create PR to tempel-collection package.
  2. Add to README.md chapter about using adoc-mode with tempel and tempel-collection.

dunmaksim avatar Mar 06 '23 09:03 dunmaksim

@dunmaksim I like this suggestion.

bbatsov avatar Mar 06 '23 10:03 bbatsov

Project Tempel have a package tempel-collection

@dunmaksim : Link is broken. Correct link is: https://github.com/Crandel/tempel-collection

tripplilley avatar Aug 27 '24 20:08 tripplilley