Skip to content

Slugify exporter filenames#71

Open
zhuochun wants to merge 1 commit intomainfrom
codex/add-slugification-helper-for-filenames
Open

Slugify exporter filenames#71
zhuochun wants to merge 1 commit intomainfrom
codex/add-slugification-helper-for-filenames

Conversation

@zhuochun
Copy link
Owner

Summary

  • add a slugification helper to sanitize title-based export filenames and limit their length
  • ensure title collisions append the page ID to keep exported filenames unique
  • cover slug generation and collision handling with new tests

Testing

  • go test ./...

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant