mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 03:39:06 +08:00
This commit responds to feedback in the Discourse Meta discussion https://meta.discourse.org/t/monospace-font-in-the-markdown-only-editor/359936 This change introduces a user preference that allows users to choose whether the Markdown editor uses a monospace font. The default setting is `true` for new sites, but set to `false` for existing sites to avoid disrupting current users' experiences. Admins can change the `default_other_enable_markdown_monospace_font` site setting to manage this for all users. |
||
|---|---|---|
| .. | ||
| bin | ||
| config | ||
| db | ||
| docs | ||
| lib | ||
| scripts/benchmarks | ||
| spec | ||
| .gitignore | ||
| .rubocop.yml | ||
| migrations.rb | ||
| README.md | ||
Migrations Tooling
Command line interface
./bin/cli help
Converters
Public converters are stored in lib/converters/.
If you need to run a private converter, put its code into a subdirectory of private/converters/
Development
Installing gems
bundle config set --local with migrations
bundle install
Updating gems
bundle update --group migrations
Running tests
You need to execute rspec in the root of the project.
bin/rspec --default-path migrations/spec