38 Commits

Author SHA1 Message Date
Stephan Ango
bec23cfcc7 Fix issue with full HTML + DOCTYPE being inserted 2022-10-09 13:51:36 -07:00
hqweay
063b727723 highlight supports no-latin Language 2022-06-27 21:28:49 +08:00
Daryl Fritz
e4995bae97
Use _blank for the target
Some browsers might interpret "blank" as a named frame. You might want to consider using the browser standard _blank

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
2022-06-14 20:50:09 +00:00
psuwala
59b4652c61 allow for using - and _ in the links 2022-03-15 20:05:11 -04:00
Maxime Vaillancourt
7024decef4 Add support for non-latin note titles 2022-03-15 18:34:44 -04:00
Martin Puppe
2745bf7e62 Fix certain wikilinks
The titles of notes can contain characters that have a special meaning
in regular expressions. Therefore those characters have to be escaped
before the title is used in a regular expression. Failure to do so in
the code that replaces wikilinks in notes, can otherwise result in
broken links.
2022-02-04 15:45:22 +01:00
Maxime Vaillancourt
60e3ece8ff Fix links to notes in footnotes 2021-09-15 18:07:47 -04:00
Maxime Vaillancourt
72f9e888c1 Highlight content wrapped with == 2021-08-23 19:39:11 -04:00
Maxime Vaillancourt
77733c1118
Merge pull request #66 from maximevaillancourt/embed-tweets
Allow embedding tweets
2021-06-16 23:50:43 -04:00
Maxime Vaillancourt
97232001be Allow embedding tweets 2021-06-16 23:42:19 -04:00
manunamz
8b2dba86ab
Merge branch 'master' into patch-2 2021-06-14 15:27:53 -04:00
manunamz
bf7e92f9d3
Update bidirectional_links_generator.rb
Make 'invalid_wiki_link' regex less greedy.
2021-06-11 20:55:28 -04:00
manunamz
8514601d06
gsub -> gsub!
In case you were exerting a coding style opinion, feel free to ignore this pull request.

The following are equivalent, as far as I understand, so some chars can be deleted 🙂:

`current_note.content = current_note.content.gsub()` == `current_note.content.gsub!()`
2021-06-11 20:51:41 -04:00
Maxime Vaillancourt
c421400ae9 Revert "Stop replacing dashes in link generator"
This reverts commit 8544fd4f36d4d46290b3090c68fb39df87393e00.
2021-05-31 08:13:32 -04:00
Maxime Vaillancourt
8544fd4f36 Stop replacing dashes in link generator 2021-05-31 07:58:55 -04:00
Maxime Vaillancourt
c1ba4ec61f Remove duplication in bidirectional links generator 2021-03-14 20:37:47 -04:00
Maxime Vaillancourt
9487676bd8 Skip non-pages for external links detection 2021-03-14 20:34:44 -04:00
Maggie Delano
8e6ef533c6 Fix footnote and reversefootnote links from being treated as external links 2021-03-14 00:05:17 -05:00
Maxime Vaillancourt
606ed76189 Add option to open external links in new tab 2021-03-02 20:25:28 -05:00
Alan M
d22fcbef35
Update generator to include baseurl.
One of the breaking errors that I fixed in my install of this great repo was that all links generated by the ruby script didn't take into account the baseurl specified in the config file.

This ruby file corrects the error, although in the paths it might add one '/' too many. This hasn't caused me any issues, but should be considered.
2021-01-31 01:38:24 -06:00
Maxime Vaillancourt
9232ce3ded Add config to toggle html extension in links 2021-01-26 08:32:07 -05:00
Stefan Lesser
9c6b55cfff Fixed issue with plugin that touched all original notes and updated their modified date unnecessarily. 2021-01-16 18:23:08 +00:00
Maxime Vaillancourt
7aea426c64 Fix whitespace in plugin 2020-12-07 21:40:56 -05:00
Maxime Vaillancourt
664fd3d7fb Add support for optional label in double-bracket links 2020-12-07 21:36:18 -05:00
Maxime Vaillancourt
cfff3b3737 Ensure all notes have front matter 2020-11-22 13:03:28 -05:00
Maxime Vaillancourt
1d4f39b502 Use original note link casing 2020-11-22 13:03:28 -05:00
Maxime Vaillancourt
a6e1a8d5e9 Fix invalid link matcher 2020-11-15 14:31:12 -05:00
Maxime Vaillancourt
f297a68cbf Allow using note filename in double brackets 2020-11-02 19:58:34 -05:00
Maxime Vaillancourt
8538d12445
Duplicate note title to prevent in-place modification
Fixes https://github.com/maximevaillancourt/digital-garden-jekyll-template/issues/21
2020-11-02 22:54:30 +00:00
Josh Rogers
821c020b5a Initial commit failed on build - adjusted. 2020-10-18 17:26:35 +01:00
Josh Rogers
42bd0003d3 Update id generator function in Backlink Generator. Should now produce unique values in titles with Symbols 2020-10-18 11:39:55 +01:00
Maxime Vaillancourt
1a0a706556 Style invalid bracket links (grey them out) 2020-10-15 07:25:03 -04:00
Maxime Vaillancourt
a63a231ab1 Fix Document#title deprecation 2020-07-25 18:11:13 -04:00
Maxime Vaillancourt
e0005f58ba Add notes graph visualization 2020-07-21 21:26:28 -04:00
Maxime Vaillancourt
d8b794908f Identify backlinks after fully completing the Roam/wiki link syntax conversion 2020-07-21 17:57:36 -04:00
Maxime Vaillancourt
2436845ca4 Add support for Roam-style link syntax on pages 2020-07-18 14:37:33 -04:00
Maxime Vaillancourt
a0b0b12e41 Add support for Roam-style double bracket link syntax 2020-05-30 13:12:51 -04:00
Maxime Vaillancourt
a110142f56 Initial release 2020-05-19 22:59:37 -04:00