fonsp / Pluto.jl

🎈 Simple reactive notebooks for Julia
https://plutojl.org/
MIT License
4.93k stars 284 forks source link

Add BCP47 language picker in frontmatter #2720

Open fonsp opened 9 months ago

fonsp commented 9 months ago

Using https://github.com/OM-MediaWorks/bcp47-picker, a pretty cool custom component BCP47 picker! I really like like the balance between input validation & canonlization (does not allow "english", only "en", and turns "en-gb" into "en-GB", etc) and inclusivity (if you want to write "dutch, as spoken in Chile, written in Arabic", you can).

image

Fix #2718

Waiting on https://github.com/OM-MediaWorks/bcp47-picker/pull/11 and maybe some other issues that I opened there

github-actions[bot] commented 9 months ago

Try this Pull Request!

Open Julia and type:

  julia> import Pkg
  julia> Pkg.activate(temp=true)
  julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="bcp47-picker")
  julia> using Pluto