私的 Wiki†
プライベートな Wiki サイトです.
関係者でない方はご遠慮ください.
|
|
今日の予定†
tirenvi†
- align, width = right+1, center+2
- file type
- テストケース、セル幅0
- padding config : 色
- tir-pukiwiki, --md option ? --raw
- ✅attr_grid 必ず出力
- feat/flat-output-attr-first
feat(flat): emit attr_plain and attr_grid at the beginning of flat output
Ensure attribute records are consistently placed before block contents
to simplify downstream processing and parsing.
## Summary
In flat conversion, attr_plain and attr_grid are now emitted
at the beginning of each block.
## Motivation
- Makes block structure explicit in flat representation
- Simplifies downstream parsing and processing
- Aligns with upcoming refactoring where block attributes are treated as headers
## Changes
- attr_plain and attr_grid are output before corresponding records
- No change to internal data structure (output order only)
## Impact
- Affects flat output format (ordering)
- Existing consumers relying on previous order may need adjustment
## Notes
This change is a preparation step for upcoming structural refactoring
(e.g. block-level attribute handling and GFM support).
- excel, Google doc とかコピペで使えないか?
- tir-gfm-lite
- ✅GitHub push
- ✅github actions
- ✅pr only
- ✅tag v0.1.0
- ✅pypi test
- ✅pypi
- 「tag pushで自動PyPIリリース」用のworkflow
main で commit 禁止†
mkdir -p .git/hooks
cat << 'EOF' > .git/hooks/pre-push
#!/bin/sh
branch="$(git rev-parse --abbrev-ref HEAD)"
if [ "$branch" = "main" ]; then
echo "❌ Push to main is (禁止されています)"
echo "👉 Please create a feature branch and open a PR"
exit 1
fi
EOF
chmod +x .git/hooks/pre-push
cat << 'EOF' > .git/hooks/pre-commit
#!/bin/sh
branch="$(git rev-parse --abbrev-ref HEAD)"
if [ "$branch" = "main" ]; then
echo "❌ Commit on main is not allowed"
exit 1
fi
EOF
chmod +x .git/hooks/pre-commit
[edit] |
姉妹サイト†
&amazon(4777513289);
練習ページ†
ドキュメント†