fix(plugin-annotations): Let banner start and end with text
This commit is contained in:
parent
a253920dd5
commit
5a99c1b5ef
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ const banner = function (config, { part, paths, store, complete }) {
|
||||||
* Construct the text string piece by piece so it gets translated
|
* Construct the text string piece by piece so it gets translated
|
||||||
*/
|
*/
|
||||||
const spacer = ' '.repeat(mc.spaces)
|
const spacer = ' '.repeat(mc.spaces)
|
||||||
for (let i = 0; i < mc.repeat; i++) paths[ids.banner].addText(spacer).addText(mc.text)
|
for (let i = 0; i < mc.repeat; i++) paths[ids.banner].addText(mc.text).addText(spacer)
|
||||||
|
paths[ids.banner].addText(mc.text)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Store all IDs in the store so we can remove this macro with rmbanner
|
* Store all IDs in the store so we can remove this macro with rmbanner
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue