Skip to content

Commit

Permalink
Added line break script and fixed deluge meta
Browse files Browse the repository at this point in the history
  • Loading branch information
dmick92 committed Apr 24, 2024
1 parent 39975e9 commit 78b3e3d
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 1 deletion.
84 changes: 84 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pages/deluge/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"buttons": "Buttons",
"lists": "Lists",
"strings": "Strings",
"timeDates": "Time & Dates"
"timeDates": "Time & Dates",
"index": {
"display": "hidden"
}
}
13 changes: 13 additions & 0 deletions pages/deluge/strings/lineBreaks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Line Breaks in Deluge Strings
description: Create a new line in Deluge strings.
---

# Line Breaks in Deluge Strings

This script lets you add line breaks to strings in Deluge. This is done using hex codes as `\n` and `<br>` aren't supported.

```javascript
newLine = hexToText("0A");
string = "Hello" + newLine + "World";
```

0 comments on commit 78b3e3d

Please sign in to comment.