Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: edwardkim/rhwp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
Loading
...
head repository: JeekLee/rhwp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 3 files changed
  • 3 contributors

Commits on Jun 10, 2026

  1. feat(markdown): nested table LLM 재구조화 지원

    - rendering.rs: nested_table_flat_text() 추가 — 셀 내 Control::Table을
     ×ばつ열 그리드로 조립 후 [[NT:row1_cell|cell;row2_cell|cell]] 마커로 직렬화.
     table_cell_text()에서 para.controls 순회 시 중첩 표 재귀 처리.
    - main.rs: export-markdown에 --llm-url / --llm-api-key / --llm-model 플래그 추가.
     LLM 미지정 시 [[NT:...]] flat text fallback, 지정 시 ureq로 OpenAI 호환 API
     호출하여 재구조화된 텍스트로 치환.
    - Cargo.toml: ureq 2 (json feature) native 의존성 추가.
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    JeekLee and claude committed Jun 10, 2026
    Configuration menu
    Copy the full SHA
    6409539 View commit details
    Browse the repository at this point in the history
  2. feat(markdown): S3/MinIO 이미지 업로드 지원

    export-markdown에 --s3-endpoint / --s3-bucket / --s3-prefix /
    --s3-access-key / --s3-secret-key / --s3-region 플래그 추가.
    S3 설정 지정 시 이미지를 로컬 대신 MinIO에 PUT(AWS Signature V4)하고
    마크다운에 s3://bucket/key URL 삽입. 미지정 시 기존 로컬 저장 동작 유지.
    의존성 추가: sha2, hmac, hex (AWS v4 서명용, native only)
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    JeekLee and claude committed Jun 10, 2026
    Configuration menu
    Copy the full SHA
    6828e3a View commit details
    Browse the repository at this point in the history
  3. feat(markdown): --merge 플래그로 페이지 분할 MD를 단일 파일로 병합

    - export-markdown에 --merge 플래그 추가: 페이지별 {stem}_001.md 대신 {stem}.md 하나로 출력
    - remove_page_numbers() 추가: -N- 형태 페이지 번호 라인을 모든 모드에서 제거
    - 빈 페이지는 merged_pages에 추가하지 않아 불필요한 빈 섹션 방지
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    JeekLee and claude committed Jun 10, 2026
    Configuration menu
    Copy the full SHA
    36f17b5 View commit details
    Browse the repository at this point in the history
  4. fix(markdown): BMP 이미지 .bin → .png 자동 변환

    detect_clipboard_image_mime()가 BMP를 application/octet-stream으로 반환해
    이미지가 .bin으로 저장되던 문제 수정.
    - magic bytes로 BMP 감지 후 image 크레이트로 PNG 변환
    - application/octet-stream인 경우에도 PNG/JPEG/GIF/BMP 재감지
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    JeekLee and claude committed Jun 10, 2026
    Configuration menu
    Copy the full SHA
    2b364f6 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1 from JeekLee/feat/merge-flag-and-page-cleanup

    feat(markdown): --merge 플래그 및 페이지 번호 cleanup
    JeekLee authored Jun 10, 2026
    Configuration menu
    Copy the full SHA
    7a0e539 View commit details
    Browse the repository at this point in the history
  6. feat(markdown): --merge 시 페이지 경계 없이 문서 전체 추출

    기존 --merge는 페이지별 추출 후 concatenation으로 cross-page 표가
    양쪽 페이지에 중복 출력되는 문제가 있었음.
    - rendering.rs: extract_document_markdown_with_images_native() 추가
     document model(sections→paragraphs→controls)을 직접 순회해
     페이지 render tree를 거치지 않으므로 표 중복이 원천 차단됨
    - 표 렌더링 헬퍼(md_table_to_markdown 등) 모듈 수준 pub(crate) 함수로 추출
    - main.rs: --merge 분기를 페이지 루프 바깥으로 분리,
     이미지 처리 로직은 macro_rules!로 공유
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    JeekLee and claude committed Jun 10, 2026
    Configuration menu
    Copy the full SHA
    895b4a1 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2 from JeekLee/feat/document-level-merge

    feat(markdown): --merge 시 문서 수준 추출로 cross-page 표 중복 제거
    JeekLee authored Jun 10, 2026
    Configuration menu
    Copy the full SHA
    e620ed8 View commit details
    Browse the repository at this point in the history
Loading

AltStyle によって変換されたページ (->オリジナル) /