Open jalilsharif opened 4 months ago
Sorry for the inconvenience, but what is task tool
, and what is the formatting
, is it from Obsidian or from other plugins? Can you help me by giving explicit examples/points to documents/ or some screenshot
Hello, this is the task plugin https://publish.obsidian.md/tasks/Introduction. It uses the symbol 🛫 as start and 📅 as end.
Whereas smart gantt uses "from" and "to". Most of the logic from start and end has been included in this GitHub https://github.com/LynnXie00/ObsidianGanntChartfromTasks/blob/39aae2e42dd0609f03a0eb9539a9853dd786cc31/Research%20Gannt.md
however, your plugin is maintained.
Okie, I using a simple solution, replace task plugin
syntax with normal English syntax:
const hourGlass = text.replace(/⏳/g, "due in "),
airPlain = hourGlass.replace(/🛫/g, "start from "),
heavyPlus = airPlain.replace(/➕/g, "created in "),
checkMark = heavyPlus.replace(/✅/g, "done in "),
crossMark = checkMark.replace(/❌/g, "cancelled in "),
createdIn = crossMark.replace(/\[created::\s+(.*)]/g,"created in $1"),
scheduledIn = createdIn.replace(/\[scheduled::\s+(.*)]/g,"scheduled in $1"),
startFrom = scheduledIn.replace(/\[start::\s+(.*)]/g,"start from $1"),
dueTo = startFrom.replace(/\[due::\s+(.*)]/g,"due to $1"),
completionIn = dueTo.replace(/\[completion::\s+(.*)]/g,"completion in $1"),
cancelledIn = completionIn.replace(/\[cancelled::\s(.*)]/g,"cancelled in $1 "),
calendarMark = cancelledIn.replace("/📅/g"," to ")
return calendarMark
anyway, task
is a great plugin, I just play with it for a while hehe
oh, I like the fact everytime I switch the card on my projject board everything will be log here. Haha
I wanted to ask, why the gantt plugin can't use the same formatting as the task tool for the start and end date?