Skip to content

Commit f46d736

Browse files
carusogabrielJocs
authored andcommitted
Use HTTPS instead of HTTP (marktext#158)
1 parent 9583d5b commit f46d736

12 files changed

Lines changed: 20 additions & 20 deletions

File tree

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Project maintainers have the right and responsibility to remove, edit, or reject
1010

1111
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
1212

13-
This Code of Conduct is adapted from the[Contributor Covenant](http://contributor-covenant.org/), version 1.0.0, available at[http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
13+
This Code of Conduct is adapted from the[Contributor Covenant](https://contributor-covenant.org/), version 1.0.0, available at[https://contributor-covenant.org/version/1/0/0/](https://contributor-covenant.org/version/1/0/0/)

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
**Actual behavior:** [What actually happened]
1414

15-
**Link to an example:** [If you're reporting a bug that's not reproducible, please try to reproduce it on [JSFiddle](https://jsfiddle.net/), [JS Bin](https://jsbin.com), [CodePen](http://codepen.io/) or a similar service and paste a link here]
15+
**Link to an example:** [If you're reporting a bug that's not reproducible, please try to reproduce it on [JSFiddle](https://jsfiddle.net/), [JS Bin](https://jsbin.com), [CodePen](https://codepen.io/) or a similar service and paste a link here]
1616

1717
### Versions
1818

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
### Features
9595

9696
- Realtime preview and use [snabbdom](https://github.com/snabbdom/snabbdom) as its render engine.
97-
- Support [CommonMark Spec](http://spec.commonmark.org/0.28/) and [GitHub Flavored Markdown Spec](https://github.github.com/gfm/).
97+
- Support [CommonMark Spec](https://spec.commonmark.org/0.28/) and [GitHub Flavored Markdown Spec](https://github.github.com/gfm/).
9898
- Support paragraphs and inline style shortcuts to improve your writing efficiency.
9999
- Output **HTML** and **PDF** file.
100100
- Dark and Light themes.
@@ -130,7 +130,7 @@ Did not found your system ? Go the the [release page](https://github.com/marktex
130130

131131
Want to see new features in this version? Refer to [CHANGELOG](https://github.com/marktext/marktext/blob/master/.github/CHANGELOG.md)
132132

133-
If you use OS X system, you can install Mark Text by [**homebrew cask**](https://github.com/caskroom/homebrew-cask), to start using Homebrew-Cask, you just need [Homebrew](http://brew.sh/) installed.
133+
If you use OS X system, you can install Mark Text by [**homebrew cask**](https://github.com/caskroom/homebrew-cask), to start using Homebrew-Cask, you just need [Homebrew](https://brew.sh/) installed.
134134

135135
> brew cask install mark-text
136136

doc/i18n/pl.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
### Cechy programu
9191

9292
- Podgląd na żywo - użycie [snabbdom](https://github.com/snabbdom/snabbdom) jako swojego silnika renderującego.
93-
- Wsparcie specyfikacji [CommonMark](http://spec.commonmark.org/0.28/) i [GitHub Flavored Markdown](https://github.github.com/gfm/).
93+
- Wsparcie specyfikacji [CommonMark](https://spec.commonmark.org/0.28/) i [GitHub Flavored Markdown](https://github.github.com/gfm/).
9494
- Wsparcie paragrafów i skrótów klawiatowych dla stylów wbudowanych w celu zwiększenia twojej wydajności podczas pisania.
9595
- Zapis do plików **HTML** i **PDF**.
9696
- Ciemny i jasny motyw.
@@ -126,7 +126,7 @@ Nie znalazłeś swojego systemu? Przejdź do strony [release](https://github.com
126126

127127
Chciałbyś zobaczyć jak nowe udogodnienia wprowadziła najnowsza wersja? Udaj się do [CHANGELOG](https://github.com/marktext/marktext/blob/master/.github/CHANGELOG.md)
128128

129-
Jeśli używasz systemu OS X, to możesz zainstalować Mark Text za pomocą [**homebrew cask**](https://github.com/caskroom/homebrew-cask). Aby zacząć korzystać z Homebrew-Cask potrzebujesz tylko [Homebrew](http://brew.sh/).
129+
Jeśli używasz systemu OS X, to możesz zainstalować Mark Text za pomocą [**homebrew cask**](https://github.com/caskroom/homebrew-cask). Aby zacząć korzystać z Homebrew-Cask potrzebujesz tylko [Homebrew](https://brew.sh/).
130130

131131
> brew cask install mark-text
132132
@@ -141,7 +141,7 @@ Jeżeli chciałbyś samodzielnie zbudować **Mark Text**:
141141
- uruchom komendę `npm run build`
142142
- skopiuj zbudowaną aplikację do folderu Applications lub jeśli używasz systemu Windows uruchom instalator.
143143

144-
W przypadku jakichkolwiek pytań podczas korzystania z **Mark Text** zaczęcamy do zgłoszenia problemu. Mamy nadzieję, że będziesz trzymał się ustalonego z góry formatu zgłaszania problemów. Wspaniale by było, jeżeli to właśnie ty naprawisz błąd i zgłosisz pull request.
144+
W przypadku jakichkolwiek pytań podczas korzystania z **Mark Text** zaczęcamy do zgłoszenia problemu. Mamy nadzieję, że będziesz trzymał się ustalonego z góry formatu zgłaszania problemów. Wspaniale by było, jeżeli to właśnie ty naprawisz błąd i zgłosisz pull request.
145145

146146
## Udział w projekcie
147147

doc/i18n/zh_cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595

9696
- Mark Text 所输及所见,摒弃了众多 markdown 编辑器左边写作右边预览的写作方式,巧妙的将编辑和预览融为一体。
9797
- [snabbdom](https://github.com/snabbdom/snabbdom) 作为 Mark Text 的渲染引擎,保证了极速渲染编辑页面,带来流程的书写体验。
98-
- 支持 [CommonMark Spec](http://spec.commonmark.org/0.28/)[GitHub Flavored Markdown Spec](https://github.github.com/gfm/) 语法格式,生成的 Markdown 可以复制到任何支持 markdown 格式的社区、网站。
98+
- 支持 [CommonMark Spec](https://spec.commonmark.org/0.28/)[GitHub Flavored Markdown Spec](https://github.github.com/gfm/) 语法格式,生成的 Markdown 可以复制到任何支持 markdown 格式的社区、网站。
9999
- 段落及行内样式快捷键提升您的编辑效率。
100100
- 输出 HTML 和 PDF 格式文件,方便在浏览器中预览。
101101
- 黑、白两款主题,自由切换。
@@ -129,7 +129,7 @@
129129

130130
如果你依然没有找到适合你的版本,请直接从 [release](https://github.com/marktext/marktext/releases) 页面下载。
131131

132-
如果你使用 Mac,那么你可以通过 [**homebrew cask**](https://github.com/caskroom/homebrew-cask) 来安装 Mark Text。在使用 Homebrew-Cask 之前,你需要安装 [Homebrew](http://brew.sh/)
132+
如果你使用 Mac,那么你可以通过 [**homebrew cask**](https://github.com/caskroom/homebrew-cask) 来安装 Mark Text。在使用 Homebrew-Cask 之前,你需要安装 [Homebrew](https://brew.sh/)
133133

134134
> brew cask install mark-text
135135

src/editor/codeMirror/loadmode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// CodeMirror, copyright (c) by Marijn Haverbeke and others
2-
// Distributed under an MIT license: http://codemirror.net/LICENSE
2+
// Distributed under an MIT license: https://codemirror.net/LICENSE
33

44
const loadMore = CodeMirror => {
55
if (!CodeMirror.modeURL) {

src/editor/codeMirror/overlayMode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// CodeMirror, copyright (c) by Marijn Haverbeke and others
2-
// Distributed under an MIT license: http://codemirror.net/LICENSE
2+
// Distributed under an MIT license: https://codemirror.net/LICENSE
33

44
// Utility function that allows modes to be combined. The mode given
55
// as the base argument takes care of most of the normal mode

src/editor/selection.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Selection {
4848
}, contentWindow)
4949
}
5050

51-
// http://stackoverflow.com/questions/17678843/cant-restore-selection-after-html-modify-even-if-its-the-same-html
51+
// https://stackoverflow.com/questions/17678843/cant-restore-selection-after-html-modify-even-if-its-the-same-html
5252
// Tim Down
5353
exportSelection (root) {
5454
if (!root) {
@@ -96,7 +96,7 @@ class Selection {
9696
return selectionState
9797
}
9898

99-
// http://stackoverflow.com/questions/17678843/cant-restore-selection-after-html-modify-even-if-its-the-same-html
99+
// https://stackoverflow.com/questions/17678843/cant-restore-selection-after-html-modify-even-if-its-the-same-html
100100
// Tim Down
101101
//
102102
// {object} selectionState - the selection to import
@@ -515,7 +515,7 @@ class Selection {
515515
return !sawtrue && sawfalse
516516
}
517517

518-
// http://stackoverflow.com/questions/4176923/html-of-selected-text
518+
// https://stackoverflow.com/questions/4176923/html-of-selected-text
519519
// by Tim Down
520520
getSelectionHtml () {
521521
const sel = this.doc.getSelection()
@@ -593,7 +593,7 @@ class Selection {
593593
}
594594
}
595595

596-
// http://stackoverflow.com/questions/15867542/range-object-get-selection-parent-node-chrome-vs-firefox
596+
// https://stackoverflow.com/questions/15867542/range-object-get-selection-parent-node-chrome-vs-firefox
597597
rangeSelectsSingleNode (range) {
598598
const startNode = range.startContainer
599599
return startNode === range.endContainer &&
@@ -706,7 +706,7 @@ class Selection {
706706
selection.addRange(range)
707707
}
708708

709-
// http://stackoverflow.com/questions/1197401/
709+
// https://stackoverflow.com/questions/1197401/
710710
// how-can-i-get-the-element-the-caret-is-in-with-javascript-when-using-contenteditable
711711
// by You
712712
getSelectionStart () {

src/editor/utils/exportMarkdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Before you edit or update codes in this file, make sure you have read the
3-
* Commonmark Spec: http://spec.commonmark.org/0.28/
3+
* Commonmark Spec: https://spec.commonmark.org/0.28/
44
* and GitHub Flavored Markdown Spec: https://github.github.com/gfm/
55
* The output markdown needs to obey the standards of the two Spec.
66
*/

src/main/menus/help.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default {
3030
}, {
3131
label: 'Markdown syntax',
3232
click: function () {
33-
shell.openExternal('http://spec.commonmark.org/0.28/')
33+
shell.openExternal('https://spec.commonmark.org/0.28/')
3434
}
3535
}, {
3636
type: 'separator'

0 commit comments

Comments
 (0)