add generate and $group
add "{{plain:" and "{{quote:" modes