pharmaverse / blog

Blogging on the latest, greatest and most spectacular stuff happening around the pharmaverse
https://pharmaverse.github.io/blog/
Apache License 2.0
21 stars 9 forks source link

try out new spellcheck #209

Open StefanThoma opened 1 month ago

StefanThoma commented 1 month ago

Thank you for your Pull Request! We have developed this task checklist to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your blog post.

Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the main branch until you have checked off each task.

StefanThoma commented 1 month ago

There seems to be some problems with encoding or something:

Misspelled words:

posts/2024-03-01_rhino_shiny_app_validation/rhino_shiny_app_validation.qmd: html>body>p -------------------------------------------------------------------------------- Taşl Ży -------------------------------------------------------------------------------- Misspelled words: posts/[20](https://github.com/pharmaverse/blog/actions/runs/10299098846/job/28505682583#step:4:21)24-03-04_inside_the__phar.../inside_the__pharmaverse.qmd: html>body>ul>li>p -------------------------------------------------------------------------------- PHUSE’s --------------------------------------------------------------------------------
StefanThoma commented 1 month ago

Note to myself, as I won't be able to do it now:

Try to: Run original spellcheck after running:

# Find all .qmd files in the current directory and subdirectories
find . -type f -name "*.qmd" | while read -r file; do
  # Remove Markdown-style links [text](URL)
  sed -i.bak -E 's/\[([^\]]+)\]\([^)]+\)//g' "$file"

  # Remove standalone URLs like <http://example.com>
  sed -i.bak -E 's/<([^>]+)>//g' "$file"

  # Optionally, remove empty brackets [] that may be left behind
  sed -i.bak -E 's/\[\]//g' "$file"

  # Clean up backup files
  rm "${file}.bak"
done

The bash command should remove all links from all qmd files.

manciniedoardo commented 1 week ago

Ideas from today's call:

@StefanThoma to review