Skip to content

Commit 1a09e65

Browse files
committed
github-headline: add newline between headline and link
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
1 parent b191a6a commit 1a09e65

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

github-headline/github-headline.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,8 @@ QtObject {
605605
headline = entityToHtml(headline.trim());
606606
script.log("Found headline: " + headline);
607607

608-
// generate markdown to paste
609-
var result = "## " + headline + "\n- <" + text + ">\n";
608+
// generate Markdown to paste
609+
var result = "## " + headline + "\n\n- <" + text + ">\n";
610610
return result;
611611
}
612612

github-headline/info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "GitHub Headline",
33
"identifier": "github-headline",
44
"script": "github-headline.qml",
5-
"version": "0.2.4",
5+
"version": "0.2.5",
66
"minAppVersion": "17.05.6",
77
"authors": ["@pbek"],
88
"description": "Inserts a headline and a link to the <a href='https://github.com/'>GitHub</a> issue or pull request from an url in the clipboard into the current note when you paste the link with <i>Ctrl + Shift + V</i>."

0 commit comments

Comments
 (0)