Adds accDescription, draws tags to svg

This commit is contained in:
Adam B
2022-04-07 13:20:58 +00:00
committed by Adam B
parent 904826b3e1
commit 65b0b83625
9 changed files with 133 additions and 20 deletions

View File

@@ -12,6 +12,7 @@ let includes = [];
let excludes = [];
let links = {};
let title = '';
let accDescription = '';
let sections = [];
let tasks = [];
let currentSection = '';
@@ -115,6 +116,14 @@ export const getTitle = function () {
return title;
};
export const setAccDescription = function (txt) {
accDescription = txt;
};
export const getAccDescription = function () {
return accDescription;
};
export const addSection = function (txt) {
currentSection = txt;
sections.push(txt);
@@ -637,6 +646,8 @@ export default {
getTodayMarker,
setTitle,
getTitle,
setAccDescription,
getAccDescription,
addSection,
getSections,
getTasks,