124 Commits

Author SHA1 Message Date
hqweay
063b727723 highlight supports no-latin Language 2022-06-27 21:28:49 +08:00
Maxime Vaillancourt
8518ad014b
Merge pull request #119 from darylf/patch-1
Use _blank for the target
2022-06-14 19:11:56 -04: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
Maxime Vaillancourt
95e983d9d2
Merge pull request #117 from maximevaillancourt/dependabot/bundler/nokogiri-1.13.6
Bump nokogiri from 1.13.4 to 1.13.6
2022-05-24 19:46:02 -04:00
dependabot[bot]
a5ae9ca992
Bump nokogiri from 1.13.4 to 1.13.6
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.4 to 1.13.6.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.4...v1.13.6)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 05:22:40 +00:00
Maxime Vaillancourt
680943e70f Showcase notes stored in subdirectories 2022-04-13 18:55:21 -04:00
Maxime Vaillancourt
8c72fb4e50
Merge pull request #111 from maximevaillancourt/dependabot/bundler/nokogiri-1.13.4
Bump nokogiri from 1.13.2 to 1.13.4
2022-04-13 18:22:36 -04:00
dependabot[bot]
c8b6be74cf
Bump nokogiri from 1.13.2 to 1.13.4
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.2 to 1.13.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.13.4/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.2...v1.13.4)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 10:24:47 +00:00
Maxime Vaillancourt
62b96229a3
Merge pull request #103 from maximevaillancourt/allow-underscore-and-hyphens
Allow using `-` and `_` in links
2022-03-15 20:10:29 -04:00
psuwala
59b4652c61 allow for using - and _ in the links 2022-03-15 20:05:11 -04:00
Maxime Vaillancourt
a09b2dc505 Remove mentions of Twitter (I'm taking a break) 2022-03-15 18:55:14 -04:00
Maxime Vaillancourt
3ad87a486b
Merge pull request #101 from maximevaillancourt/add-support-for-non-latin-note-titles
Add support for non-latin note titles
2022-03-15 18:37:42 -04:00
Maxime Vaillancourt
7024decef4 Add support for non-latin note titles 2022-03-15 18:34:44 -04:00
Maxime Vaillancourt
665735ed87
Merge pull request #97 from maximevaillancourt/dependabot/bundler/nokogiri-1.13.2
Bump nokogiri from 1.12.5 to 1.13.2
2022-03-15 18:04:44 -04:00
dependabot[bot]
37d41d49b3
Bump nokogiri from 1.12.5 to 1.13.2
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.5 to 1.13.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.12.5...v1.13.2)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 10:42:51 +00:00
Maxime Vaillancourt
efadbcd1bb
Merge pull request #91 from keang/master
fix: missing .id from nodes
2022-02-06 19:41:45 -05:00
Maxime Vaillancourt
c546770983
Merge pull request #96 from puppe/fix_links
Fix certain wikilinks
2022-02-06 19:40:08 -05: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
Keang
a1b08aa300 fix: Same edge function 2021-12-11 01:17:59 +11:00
Keang
2c8cff96f2 fix: Node weight filter function 2021-12-11 01:13:41 +11:00
Maxime Vaillancourt
2009a591d6 Allow dismissing note previews on touch devices by tapping on them 2021-10-12 22:04:58 -04:00
Maxime Vaillancourt
34b0d6fc40
Merge pull request #85 from maximevaillancourt/dependabot/bundler/nokogiri-1.12.5
Bump nokogiri from 1.11.4 to 1.12.5
2021-10-03 15:46:50 -04:00
dependabot[bot]
06242e7e1c
Bump nokogiri from 1.11.4 to 1.12.5
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.4 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 05:46:58 +00:00
Maxime Vaillancourt
8c9c1ef620
Merge pull request #84 from maximevaillancourt/fix-links-to-notes-in-footnotes
Fix links to notes in footnotes
2021-09-15 18:12:15 -04:00
Maxime Vaillancourt
60e3ece8ff Fix links to notes in footnotes 2021-09-15 18:07:47 -04:00
Maxime Vaillancourt
1fd0f25561
Update and rename anything-else.md to something-else.md 2021-08-24 00:09:14 +00:00
Maxime Vaillancourt
381fc9f6b7 Add issue templates 2021-08-24 00:07:33 +00:00
Maxime Vaillancourt
35ae90f29c
Merge pull request #75 from maximevaillancourt/add-highlight-syntax
Highlight content wrapped with ==
2021-08-23 19:42:22 -04:00
Maxime Vaillancourt
72f9e888c1 Highlight content wrapped with == 2021-08-23 19:39:11 -04:00
Maxime Vaillancourt
3c04ebc393
Remove Ko-Fi link in note (donate to a charity instead!) 2021-08-06 01:47:16 +00:00
Maxime Vaillancourt
771bf5f1fe
Remove Ko-Fi links (donate to a charity instead!) 2021-08-06 01:45:08 +00:00
Maxime Vaillancourt
6072ded326
Merge pull request #70 from maximevaillancourt/dependabot/bundler/addressable-2.8.0
Bump addressable from 2.7.0 to 2.8.0
2021-07-16 18:45:24 -04:00
dependabot[bot]
122abe1759
Bump addressable from 2.7.0 to 2.8.0
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 10:54:30 +00: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
Maxime Vaillancourt
ad94b736b1
Merge pull request #64 from manunamz/patch-2
Update bidirectional_links_generator.rb
2021-06-16 23:34:09 -04:00
manunamz
8b2dba86ab
Merge branch 'master' into patch-2 2021-06-14 15:27:53 -04:00
Maxime Vaillancourt
f4d4be2b60
Merge pull request #63 from manunamz/patch-1
gsub -> gsub!
2021-06-13 17:48:42 -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
690f3bbd2a
Merge pull request #60 from meewgumi/patch-1
pre codeblock horizontal scroll
2021-05-31 11:36:02 +00:00
meewgumi
55ef676d7d
pre codeblock horizontal scroll
This allows divs containing preformatted codeblocks to scroll horizontally. For an example of the non-scrolling current behavior, look at the shell script on [this note page](https://digital-garden-jekyll-template.netlify.app/your-first-note) with browser <1100px. The div containing a preformatted block is not resizing with the grid, which is preventing the backlinks box from being visible. This is also a problem on mobile devices, since horizontal scrolling of the body is not allowed.

This fix, `display: grid`, allows the div.highlight element to resize along with the grid container, fixing both the responsive backlink box issue and horizontal scrolling of the codeblock for browser widths <600px.
2021-05-30 05:10:24 +00:00
Maxime Vaillancourt
a426b66f5a
Merge pull request #59 from maximevaillancourt/dependabot/bundler/nokogiri-1.11.4
Bump nokogiri from 1.11.1 to 1.11.4
2021-05-21 21:05:09 +00:00
dependabot[bot]
8a109bf05e
Bump nokogiri from 1.11.1 to 1.11.4
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.1 to 1.11.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.1...v1.11.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 23:54:46 +00:00
Maxime Vaillancourt
fa209ea120
Merge pull request #57 from maximevaillancourt/dependabot/bundler/rexml-3.2.5
Bump rexml from 3.2.4 to 3.2.5
2021-05-01 00:46:33 +00:00
dependabot[bot]
a2d2899ad5
Bump rexml from 3.2.4 to 3.2.5
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 20:38:43 +00:00
Maxime Vaillancourt
e6e2ea2932 Remove unnecessary call 2021-04-03 17:49:30 -04:00
Maxime Vaillancourt
bcfe2d2de5 Update kramdown 2021-03-29 19:05:30 -04:00