A simple interface for formatting Letterboxd reviews, comments, and more.
Letterboxd Text Formatter Extension
Minimal, light-weight, open-source extension for implementing the somewhat \"hidden\" formatting options in Letterboxd, similar to those in the official mobile app. It also implements the ability to preview your formatted post before submitting.
The formatting tags can be inserted using the on-screen buttons, or using the following keyboard shortcuts:
- Bold: (Cmd/Ctrl) + b
- Italic: (Cmd/Ctrl) + i
- Hyperlink: (Cmd/Ctrl) + Shift + l
- Quote: (Cmd/Ctrl) + Shift + k
Formatting tags will automatically wrap a selected area of text. Otherwise, the tags will be inserted at the caret position. Keyboard shortcuts can be disabled in the extension options.
Check out the project on GitHub:
https://github.com/SAMPPLUS/letterboxd-review-formatter
###########
Change Log:
v0.6.0
- made format buttons disappear while preview active
- reduced size of icon
- various visual and bug fixes
v0.5.0
- added option to disable keyboard shortcuts
- fixed modal opening animation
- sanitizing preview output for improved security
- various fixes and improvements
v0.4.0
- made styling and layout more consistent across different text areas
- performance improvements
v0.3.0
- added support for comments, list descriptions, and reviews accessed via the \"Diary\" page
- changed default keyboard shortcuts
- fixed the review modal becoming scrollable on Windows
v0.2.1
- decreased file size
v0.2.0
- support for the profile bio
- renamed to \"Letterboxd Text Formatter\"
- new icon
- various small fixes
v0.1.0
- implemented support for the undo stack. All changes can now be undone using Cmd+z (mac) or Ctrl+z (PC)
- limited the URL patterns on which the extension script loads
Read more
The formatting tags can be inserted using the on-screen buttons, or using the following keyboard shortcuts:
- Bold: (Cmd/Ctrl) + b
- Italic: (Cmd/Ctrl) + i
- Hyperlink: (Cmd/Ctrl) + Shift + l
- Quote: (Cmd/Ctrl) + Shift + k
Formatting tags will automatically wrap a selected area of text. Otherwise, the tags will be inserted at the caret position. Keyboard shortcuts can be disabled in the extension options.
Check out the project on GitHub:
https://github.com/SAMPPLUS/letterboxd-review-formatter
###########
Change Log:
v0.6.0
- made format buttons disappear while preview active
- reduced size of icon
- various visual and bug fixes
v0.5.0
- added option to disable keyboard shortcuts
- fixed modal opening animation
- sanitizing preview output for improved security
- various fixes and improvements
v0.4.0
- made styling and layout more consistent across different text areas
- performance improvements
v0.3.0
- added support for comments, list descriptions, and reviews accessed via the \"Diary\" page
- changed default keyboard shortcuts
- fixed the review modal becoming scrollable on Windows
v0.2.1
- decreased file size
v0.2.0
- support for the profile bio
- renamed to \"Letterboxd Text Formatter\"
- new icon
- various small fixes
v0.1.0
- implemented support for the undo stack. All changes can now be undone using Cmd+z (mac) or Ctrl+z (PC)
- limited the URL patterns on which the extension script loads
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Letterboxd Text Formatter", "version": "0.6.0", "description": "A simple interface for formatting Letterboxd reviews, comments, and more.", "icons": { "16": "images/icon-16.png", "48": "images/icon-48.png", "128": "images/icon-128.png" }, "permissions": [ "storage" ], "options_ui": { "page": "options/options.html", "open_in_tab": false }, "content_scripts": [ { "js": ["libs/purify.min.js","scripts/formatting.js"], "css": ["ltf-style.css"], "matches": ["https://*.letterboxd.com/*film/*", "https://*.letterboxd.com/*/films/diary/","https://*.letterboxd.com/settings/","https://*.letterboxd.com/*/list/*"] }, { "js": ["scripts/modal-content.js", "scripts/comment-content.js"], "matches": ["https://*.letterboxd.com/*film/*", "https://*.letterboxd.com/*/films/diary/","https://*.letterboxd.com/*/list/*"] }, { "js": ["scripts/settings-content.js"], "matches": ["https://*.letterboxd.com/settings/"] }, { "js": ["scripts/list-content.js"], "matches": ["https://*.letterboxd.com/*/list/*/edit/"] } ]}
Read more