THBlog

Blog theme formatter for Toyhouse

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
circlejourney
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
13
Βαθμολογίες
0 0 0
Έκδοση
0.8
Δημιουργήθηκε την
29/07/2023
Ενημερώθηκε την
11/06/2024
Μέγεθος
10 KB
Άδεια
MIT
Εφαρμόζεται σε

THBlog: A toyhou.se userscript that applies a user-customised blog theme to bulletins

Inspired by blogskins from the days of yore, this userscript adds additional tools to Toyhouse's Bulletin interface that let you create and apply a custom blog theme to all your bulletins.

How to use


  1. Open the "Create bulletin" page.
  2. In WYSIWYG mode, write your source text with a Heading 1 element at the top (the post title), followed by a Heading 2 element (the post mood), and then a Code element (the post tags). Everything after that will be assumed to be the post body.
  3. When you click "Apply theme", the post will be formatted automatically, and the bulletin title field will be updated.
  4. All template parts are optional, and if not included in the source text, will be substituted with the placeholder text that you have set.

It really is that simple!

Template editor

For those who want extra control over the look and feel of the blog theme, you can also edit the HTML template directly. This can be ignored by users who don't feel like poking around in the code. Have fun!

Check out my other Toyhouse tools: Toyhouse live code editorToyhouse watermark previewer