Skip to content

Commit 32d67e2

Browse files
committed
add markdownlint
1 parent e1bad31 commit 32d67e2

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
lines changed

.markdownlint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# MD013/line-length - Line length
2+
MD013: false

readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
プログラムが正常に動作するためには [POSIX Utilities](https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html), [GNU Wget](https://www.gnu.org/software/wget/), [XMLStarlet](https://xmlstar.sourceforge.net/) がご使用のコンピューターにインストールされている必要があります。
3333

34-
ディレクトリ内にある `collection.colpkg` を Anki
35-
にインポートします。(注意: 現在のデッキコレクションが全て新たなものに置き換えられます。)細分化された空のデッキが取り込まれますので、各デッキ内に先程作成されたCSVファイルを読み込んでいきます。カードタイプはそれぞれ適切なものを選択してください。
34+
ディレクトリ内にある `collection.colpkg` を Anki にインポートします。(注意: 現在のデッキコレクションが全て新たなものに置き換えられます。)細分化された空のデッキが取り込まれますので、各デッキ内に先程作成されたCSVファイルを読み込んでいきます。カードタイプはそれぞれ適切なものを選択してください。
3635

3736
[![ファイルの読み込み](images/thumbnails/anki-menu-read.png)](images/anki-menu-read.png "ファイルの読み込み") [![CSV ファイルのインポート](images/thumbnails/anki-read-option.png)](images/anki-read-option.png "CSV ファイルのインポート")

spec/markdown_spec.sh

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/usr/bin/env sh
2+
3+
### File: markdown_spec.sh
4+
##
5+
## Shell ファイルの共通オプションの検証。
6+
##
7+
## Usage:
8+
##
9+
## ------ Text ------
10+
## shellspec markdown_spec.sh
11+
## ------------------
12+
##
13+
## Metadata:
14+
##
15+
## id - f41a651c-f50b-4775-9d77-09e60508bdb4
16+
## author - <qq542vev at https://purl.org/meta/me/>
17+
## version - 1.0.0
18+
## date - 2023-07-26
19+
## since - 2023-07-26
20+
## copyright - Copyright (C) 2023-2023 qq542vev. Some rights reserved.
21+
## license - <CC-BY at https://creativecommons.org/licenses/by/4.0/>
22+
## package - convert-it-passport
23+
##
24+
## See Also:
25+
##
26+
## * <Project homepage at https://github.com/qq542vev/convert-it-passport>
27+
## * <Bag report at https://github.com/qq542vev/convert-it-passport/issues>
28+
29+
eval "$(shellspec - -c) exit 1"
30+
31+
% TESTFILES: 'readme.md'
32+
33+
Describe 'markdownlint による検証'
34+
Parameters:value ${TESTFILES}
35+
36+
Example "markdownlint -- ${1}"
37+
When call markdownlint -- "${1}"
38+
The length of stdout should equal 0
39+
The length of stderr should equal 0
40+
The status should equal 0
41+
End
42+
End

0 commit comments

Comments
 (0)