We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[...][]
Issue/PR での対応ありがとうございました! 一旦 Issue としてメモしておきますね 📝
ありがとうございます。不正なリンク抽出用のシェルスクリプトを一応書いていたので、ご参考までに 🙇 ※コードブロック内にある正常なパターンもヒットしちゃったので、結局目視で確認しております 😢 そのままじゃCI等では使え無さそう。。 #!/bin/bash # _siteディレクトリのパス site_directory="_site" # _siteディレクトリ内のHTMLファイルに対して処理 find "$site_directory" -type f -name "*.html" | while read -r file; do # grepで][]が含まれている行を抽出 grep_result=$(grep '\]\[' "$file") # grepの結果があるかチェック if [ -n "$grep_result" ]; then # ファイル名を表示 echo "File: $file" # []][]が含まれている行を表示 echo "$grep_result" # ファイルごとに区切りを表示 echo "----------------------------------------" fi done echo "処理が完了しました。"
ありがとうございます。不正なリンク抽出用のシェルスクリプトを一応書いていたので、ご参考までに 🙇 ※コードブロック内にある正常なパターンもヒットしちゃったので、結局目視で確認しております 😢 そのままじゃCI等では使え無さそう。。
#!/bin/bash # _siteディレクトリのパス site_directory="_site" # _siteディレクトリ内のHTMLファイルに対して処理 find "$site_directory" -type f -name "*.html" | while read -r file; do # grepで][]が含まれている行を抽出 grep_result=$(grep '\]\[' "$file") # grepの結果があるかチェック if [ -n "$grep_result" ]; then # ファイル名を表示 echo "File: $file" # []][]が含まれている行を表示 echo "$grep_result" # ファイルごとに区切りを表示 echo "----------------------------------------" fi done echo "処理が完了しました。"
Originally discussed by @r-kojima & @hachi8833 in #1546 (comment)
The text was updated successfully, but these errors were encountered:
📝 MEMO: 未踏ジュニアで HTML Proofer のプラグインとしてイイ感じにテストを追加する方法が分かったので、テストを追加するときは次のような方法でテストを追加するとエラーレポートが分かりやすくなりそう 👀💡✨
3.2.2
3.3.0
Sorry, something went wrong.
No branches or pull requests
Issue/PR での対応ありがとうございました!
一旦 Issue としてメモしておきますね 📝
背景
[...][]
) が存在する[...][]
) を抽出し、 適用数が0となる置換リンク をテストで検知したい該当コメント
Originally discussed by @r-kojima & @hachi8833 in #1546 (comment)
The text was updated successfully, but these errors were encountered: