# Developer Guides

**URL:** https://meta.discourse.org/c/documentation/developer-guides/56.md?page=3

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 4

---

## [Split up theme SCSS into multiple files](https://meta.discourse.org/t/split-up-theme-scss-into-multiple-files/115126)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 12\
**Last updated:** [January 18, 2024, 12:58am UTC](https://meta.discourse.org/t/split-up-theme-scss-into-multiple-files/115126 "2024-01-18T00:58:00Z")

</div>

Themes and theme components are becoming steadily more powerful, and developers are getting more and more ambitious. To make things easier for developers, themes can now split their SCSS into multiple files. https://git…

---

## [Structuring a plugin for Rails autoloading](https://meta.discourse.org/t/structuring-a-plugin-for-rails-autoloading/256092)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 10\
**Last updated:** [January 9, 2024, 10:13am UTC](https://meta.discourse.org/t/structuring-a-plugin-for-rails-autoloading/256092 "2024-01-09T10:13:30Z")

</div>

Many plugins include lots of class definitions inside plugin.rb, or use require\_relative to load ruby files. That works, but it comes with some disadvantages: No auto-reloading of changes in development. Any changes re…

---

## [Customize posts' contents with your own styles](https://meta.discourse.org/t/customize-posts-contents-with-your-own-styles/257738)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 8\
**Last updated:** [March 17, 2023, 10:28am UTC](https://meta.discourse.org/t/customize-posts-contents-with-your-own-styles/257738 "2023-03-17T10:28:54Z")

</div>

Requirements :information\_source: To be able to use these tips and tricks, you need to be an administrator of either a self-hosted Discourse instance or a Discourse-hosted plan higher than Basic. Introduction Discours…

---

## [Change the style of a wiki post](https://meta.discourse.org/t/change-the-style-of-a-wiki-post/78881)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 6\
**Last updated:** [July 28, 2021, 2:50am UTC](https://meta.discourse.org/t/change-the-style-of-a-wiki-post/78881 "2021-07-28T02:50:37Z")

</div>

A quick guide to change the style of your wiki posts: Change the background color: In your /admin/customize/themes add this CSS under Common \> CSS .wiki .topic-body .cooked { background-color: #dcffdc; /\*light gre…

---

## [Change font sizes in your themes](https://meta.discourse.org/t/change-font-sizes-in-your-themes/120927)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 0\
**Last updated:** [June 20, 2019, 5:42pm UTC](https://meta.discourse.org/t/change-font-sizes-in-your-themes/120927 "2019-06-20T17:42:34Z")

</div>

Global font-size changes The simplest way to change the font size of your entire community would be to override the default value on the HTML element in your theme’s CSS, like this: html { font-size: 17px; /\* default …

---

## [Adding metadata and screenshots to a Theme](https://meta.discourse.org/t/adding-metadata-and-screenshots-to-a-theme/119205)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 0\
**Last updated:** [May 31, 2019, 3:34pm UTC](https://meta.discourse.org/t/adding-metadata-and-screenshots-to-a-theme/119205 "2019-05-31T15:34:25Z")

</div>

You can add various pieces of metadata to a theme. Some are stored in the about.json file, and some are stored in the locale files. about.json :link: file format info name (string, required): The default name for the th…

---

## [Install a new language for Highlight.JS via a theme component](https://meta.discourse.org/t/install-a-new-language-for-highlight-js-via-a-theme-component/292480)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 0\
**Last updated:** [January 3, 2019, 4:47pm UTC](https://meta.discourse.org/t/install-a-new-language-for-highlight-js-via-a-theme-component/292480 "2019-01-03T16:47:47Z")

</div>

I’ve just added a hook to our HighlightJS code so now you can use the plugin API to add a custom language for Highlight.JS. Example (using the beancount language definition): const beancountLang = function(e){var c="\[A…

---

## [Things to consider before deciding to white-label the Discourse Mobile apps](https://meta.discourse.org/t/things-to-consider-before-deciding-to-white-label-the-discourse-mobile-apps/53063)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 0\
**Last updated:** [November 18, 2016, 5:06am UTC](https://meta.discourse.org/t/things-to-consider-before-deciding-to-white-label-the-discourse-mobile-apps/53063 "2016-11-18T05:06:26Z")

</div>

Since we released the iOS and Android apps a number of people have asked expressed interest in white labeling the Discourse app. :information\_source: We do not offer a white labeling service and would only consider it …

---

## [Message Format support for localization](https://meta.discourse.org/t/message-format-support-for-localization/7035)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 0\
**Last updated:** [May 31, 2013, 1:17am UTC](https://meta.discourse.org/t/message-format-support-for-localization/7035 "2013-05-31T01:17:09Z")

</div>

Guidelines for Translators In Discourse all Message Format strings have a key that ends with “\_MF”. The Crowdin Editor has a preview that allows you to experiment with various values which is quite helpful for checking y…

[Previous page](https://meta.discourse.org/c/documentation/developer-guides/56.md?page=2)
