Skip to content

Commit

Permalink
Updated tags in the markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Deates committed Jun 6, 2023
1 parent b849e74 commit 2eabf49
Show file tree
Hide file tree
Showing 7 changed files with 1,219 additions and 1,305 deletions.
1 change: 0 additions & 1 deletion esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ esbuild.build({
'@lezer/lr',
...builtins],
format: 'cjs',
watch: !prod,
target: 'es2018',
logLevel: "info",
sourcemap: prod ? false : 'inline',
Expand Down
8 changes: 6 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function appendLine(content, destination) {
return newLine(`${destination + content}`);
}
function generateTags(type) {
return newLine("") + newLine("---") + newLine("tags") + newLine(" - pivotal-tracker") + newLine(" - " + type) + newLine("---");
return newLine("") + newLine("") + newLine("tags") + newLine("- #pivotal-tracker") + newLine("- #" + type) + newLine("");
}
async function generateMarkdown(folderPath, stories) {
let storiesIgnored = 0;
Expand Down Expand Up @@ -198,7 +198,11 @@ var pullTrackerStories = (settings) => {
var MyPlugin = class extends import_obsidian4.Plugin {
async onload() {
await this.loadSettings();
this.addRibbonIcon("book-open", "Pull Tracker Stories", () => pullTrackerStories(this.settings));
this.addRibbonIcon(
"book-open",
"Pull Tracker Stories",
() => pullTrackerStories(this.settings)
);
this.addCommand({
id: "pivotal-tracker-retrieve-stories",
name: "Pull Pivotal Tracker Stories",
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "pivotal-tracker-integration",
"name": "Pivotal Tracker Integration",
"version": "1.0.5",
"version": "1.0.6",
"minAppVersion": "0.15.0",
"description": "This is an unofficial pivotal tracker integration plugin for Obsidian. This plugin allows the user to pull stories, chores, bugs from their pivotal counterpart.",
"author": "Jon Deates",
Expand Down
Loading

0 comments on commit 2eabf49

Please sign in to comment.