Many parts of Polymart require JavaScript to function correctly.
Click here to enable JavaScript.

Polymart BBCode

Back to Wiki Home
Polymart has a few custom BBCode options that you can use to spice up your resource description.


Polymart BBCode
light and dark — Only show the contents if the viewer is in light/dark mode
discordserver — Show a widget for your Discord server
purchase — Makes a link that shows the "purchase resource" popup

light & dark Back to top
Use this to show certain page contents only if the viewer is in light/dark mode. Remember that Polymart automatically adjusts gray colors to fit the user's theme, so using [light] and [dark] formatting to change normal gray text will cause text to be un-readable for some users

Format
[light]This content is only shown in LIGHT mode[/light]
[dark]This content is only shown in DARK mode[/dark]

Example
You're currently using [light]LIGHT[/light][dark]DARK[/dark] mode.
[dark]Dark mode is the default, and you can change it using the lightbulb at the bottom right of the header[/dark] [light]If you want to go back to dark mode, click the moon at the bottom right of the header[/light]

Example Rendered

You're currently using DARK mode.
Dark mode is the default, and you can change it using the lightbulb at the bottom right of the header

discordserver Back to top
Use this to show a widget for your Discord server!

You'll need to enable widgets on your Discord server, and you'll also need your Discord server ID. To do this, just go into your server settings in Discord, and click the "Widget" tab. Make sure to turn on "Enable Server Widget" at the top, and then copy your Server ID from that page.

Format
[discordserver]YOUR_DISCORD_SERVER_ID_HERE[/discordserver]

Example
[discordserver]708395251823542312[/discordserver]

Example Rendered



purchase Back to top
Use this to show the purchase prompt for your resource, so you can add purchase buttons within your resource page.

Format
[purchase]Put some text or an image here[/purchase]

Example
[purchase]Click here to purchase this resource[/purchase]

Example Rendered
Click here to purchase this resource