私的 Wiki

プライベートな Wiki サイトです. 関係者でない方はご遠慮ください.

<< 2026.3 >>
[時航日誌]
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

今日の予定

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 "&#10060; Push to main is (禁止されています)"
  echo "&#128073; 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 "&#10060; Commit on main is not allowed"
  exit 1
fi
EOF

chmod +x .git/hooks/pre-commit

[edit]

姉妹サイト

著書

&amazon(4777513289);

練習ページ

PukiWikiについて

ドキュメント


Front page   Edit Freeze Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes
Last-modified: 2008-02-23 (Sat) 13:44:00