Skip to content
New issue

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

Markdown subscript migration #374

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Markdown subscript migration #374

merged 1 commit into from
Nov 21, 2024

Conversation

liamwhite
Copy link
Contributor

This changes the subscript operator to the Pandoc style single tildes (~), and adds a release task to automatically reformat all subscript operators encountered in Markdown text.

Deployment instructions:
First, deploy as usual. Then, select one:

  1. Migrate all tables automatically:
    philomena eval "Philomena.Release.migrate_markdown(:all, -1, -1)"
  2. Migrate each table individually or in parallel, with start and end ids:
    philomena eval "Philomena.Release.migrate_markdown(:images, 0, 100000)" &
    philomena eval "Philomena.Release.migrate_markdown(:images, 100000)", 200000)" &
    # ...
    

Reindexing images, comments, posts, reports and tags is also recommended but not required, since Markdown syntax is ignored by the search stemming engine.

@liamwhite liamwhite force-pushed the subscript-migration branch 3 times, most recently from 2faea93 to ea05795 Compare November 20, 2024 19:11
@liamwhite liamwhite marked this pull request as draft November 20, 2024 19:16
@liamwhite liamwhite marked this pull request as ready for review November 21, 2024 03:00
@liamwhite liamwhite merged commit 215d158 into master Nov 21, 2024
8 checks passed
@liamwhite liamwhite deleted the subscript-migration branch November 21, 2024 14:12
@liamwhite liamwhite mentioned this pull request Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant