discourse/migrations
Martin Brennan 7121cfd4ab
FEATURE: User preference for editor Markdown monospace font (#34051)
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.
2025-08-04 14:56:21 +10:00
..
bin DEV: Add --reset option to import command (#33317) 2025-06-24 22:58:32 +02:00
config DEV: Add muted_users converter and importer steps (#33709) 2025-07-28 11:35:24 +00:00
db FEATURE: User preference for editor Markdown monospace font (#34051) 2025-08-04 14:56:21 +10:00
docs DEV: Add initial structure for migrations-tooling 2023-10-13 16:03:55 +02:00
lib FEATURE: User preference for editor Markdown monospace font (#34051) 2025-08-04 14:56:21 +10:00
scripts/benchmarks REFACTOR: Code generator for migrations IntemerdiateDB 2025-04-07 17:22:36 +02:00
spec DEV: Add muted_users converter and importer steps (#33709) 2025-07-28 11:35:24 +00:00
.gitignore DEV: Adds a new converter for migrating from Discourse 2025-04-07 17:22:36 +02:00
.rubocop.yml DEV: Refactor migrations-tooling 2025-04-07 17:22:36 +02:00
migrations.rb DEV: Refactor migrations-tooling 2025-04-07 17:22:36 +02:00
README.md DEV: Add converter framework for migrations-tooling (#28540) 2024-09-09 17:14:39 +02:00

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