We're grateful for your contribution. Your contribution will be reflected on https://lite-xl.com.
This guide goes over several important notes you need to take account when contributing to the website.
You should search the issue tracker for a similar issue before creating one. When creating an issue, ensure that it has an appropriate title, description and an example to recreate the issue.
We do not assign issues to anyone. You're welcome to submit PRs for an existing issue.
We accept PRs for website content. If you want to contribute, make sure that you've read the site rules.
We don't have full support for translations due to a lack of contributors.
Localized files belong to the directory locales/(language)
.
You must follow these rules when contributing to the website. Do note that this is not a complete list; we may advise on further improvements as we review your PRs.
Submit content that is badly-written or irrelevant to Lite XL.
Submit content that is well-written and relevant to Lite XL.
Proofread your work before submitting.
Omit the title/heading when creating a new page content.
This will generate the title "Lite XL" which conflicts with the home page.
Create a simple title/heading that is relevant to the page content.
# A title
This will generate the title "Lite XL - A title" which is better.
Use irregular indentation on the website code.
function updatePage() {
if (this.length === 0)
this.push(1);
this.forEach(function(e) { return e + 1; });
}
Follow the EditorConfig (2 space as indentation).
function updatePage() {
if (this.length === 0)
this.push(1);
this.forEach(function(e) { return e + 1; });
}
Write incredibly long lines that cannot be broken down.
This does not apply to links as they cannot be broken down.
I love Lite XL because the editor provides many features out of the box such as syntax highlighting, filesystem tree and lua scripting which I use extensively to customize the editor to such an extent where it is so much better than the original jeez >//< i love lite-xl so muchhhhh!!!!
Ensure that each line does not exceed the 80-character limit.
For long list items, break them down into multiple lines and indent the following lines with 2 spaces.
I love Lite XL because the editor provides many features:
- syntax highlighting
- filesystem tree
- lua scripting
- a killer feature that we probably don't have yet but we'll
have in the future
I use the lua scripting feature extensively to customize the editor so
that it is better than the original jeez >//< i love lite-xl so
muchhhhh!!!!
Omit newlines between markdown elements.
# Installation
You can install Lite XL by running:
```sh
# sudo apt install lite-xl
```
or the following ways:
- download a release
- install it via lpm
Introduce a newline between Markdown elements. This helps with certain picky Markdown parsers.
# Installation
You can install Lite XL by running:
```sh
# sudo apt install lite-xl
```
or the following ways:
- download a release
- install it via lpm
Use <
and >
without surrounding them in backticks.
Watch me! <script>alert("hey");</script>
Use ‹
and ›
or surround <
and >
in backticks.
Watch me! `<script>alert("hey");</script>`
Link to insecure websites.
[1]: http://example.com
Link to secure websites.
[1]: https://example.com
Use inline links.
This rule does not apply to autolinks or anchor links.
Follow [this link](https://someurl.com) and also [this interesting one](https://interesting-one.com).
[We allow this](#this-will-be-allowed)
# this will be allowed
We allow this form of inline linking because it is short and useful.
Use reference-style links.
Follow [this link] and also [this interesting one].
<!-- at the bottom of the page after 2 blank lines, vertically aligned: -->
[this link]: https://someurl.com
[this interesting one]: https://interesting-one.com
Or
Follow [this link][1] and also [this interesting one][2].
<!-- at the bottom of the page after 2 blank lines, vertically aligned: -->
[1]: https://someurl.com
[2]: https://interesting-one.com
Create messy Markdown tables (unless machine generated).
| name | Description
|---:|---|
| John | Doe
| Jeanne | Doe
- Align the pipe character (
|
) to the left. - Ensure dashes (excluding the alignment colon character(
:
)) aligns with the table header.
| name | Description
| ----: | -----------
| John | Doe
| Jeanne | Doe