Skip to content

Commit

Permalink
Replaced all caps JIRA with proper caps of Jira
Browse files Browse the repository at this point in the history
  • Loading branch information
srz2 committed Nov 14, 2023
1 parent b648e25 commit 77d765e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# JIRA Linker
# Jira Linker

This is a simple plugin which adds a jira linker command to the Obsidian (https://obsidian.md) markdown application.

## How to use

- Put your JIRA Instance URL into the settings
- Put your Jira Instance URL into the settings
- Highlight your Jira Issue in the editor and invoke the **Link Jira Issue** command
- Additionally, you can have nothing selected and have a modal ask you for the Jira Issue
- The text will be replaced with the appropriately linked JIRA issue
- The text will be replaced with the appropriately linked Jira issue
8 changes: 4 additions & 4 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export default class JiraLinkerPlugin extends Plugin {
const jira_url = this.settings.jira_instance_url;
const content = editor.getSelection();

// Check JIRA URL
// Check Jira URL
if (jira_url == ''){
const msg = 'The JIRA URL has not been set in settings'
const msg = 'The Jira URL has not been set in settings'
new Notice(msg)
return;
}
Expand Down Expand Up @@ -115,9 +115,9 @@ class JiraLinkerSettingTab extends PluginSettingTab {

new Setting(containerEl)
.setName('Jira Instance URL')
.setDesc('The domain URL for your JIRA instance')
.setDesc('The domain URL for your Jira instance')
.addText(text => text
.setPlaceholder('JIRA URL')
.setPlaceholder('Jira URL')
.setValue(this.plugin.settings.jira_instance_url)
.onChange(async (value) => {
if (value.endsWith('/')) {
Expand Down

0 comments on commit 77d765e

Please sign in to comment.