Post for testing installed component themes and plugins

Tests

Hamburger Theme Selector

In the upper right of the page you will see the hamburger button image which is part of your header links image

When the hamburger button is clicked a drop down appears. One of the groups of links are for the user selectable base themes, e.g.

In the image above Light is the currently selected base theme. Clicking on a different name should select a different base theme.

Component Themes

Iconified Header Links

In the upper right of the page you should see the in-box image which links to your personal mail-box and is part of your header links, i.e.

image

Linkify words in post

SWISH and SWI-Prolog

In the line above SWISH and SWI-Prolog should be clickable links.

Auto linkify Prolog predicates

member/2
append/3
(==)/2

In the lines above member/2, append/3, and (==)/2 should be clickable links.

DiscoTOC - automatic table of contents

On the right you should see a table of contents for this page.
If you see just the word Tests then scroll the content of the post down and more of the entries should appear. The subentries expand/collapse as the context section moves corresponding to the table of content.

image

The entries in the table of contents on the right are also links that should work.
When you mouse over a section name in the post, image will appear at the end and the link can typically be copied in most Internet browsers via the right click context menu.

Raw post button

Discourse makes use of Markdown for simple editing of post. Sometimes you see a complex post and want to know the Markdown used before text is converted (cooked) into HTML.

At the end of a post/reply is the raw button image for displaying the raw text. You will have to click the ellipsis image to see the raw button exposed. Clicking the raw button will display

Note: The above is an image capture so the scroll bar will not work.


Plugins

Discourse Math Plugin

MathJax

Inline math is done by wrapping text with the $ symbol like so $E=MC^2$ renders as

E=MC^2

Above line should look like

image

Blocks of math are done by wrapping text in a double $$ sign.

$$
E=MC^2
$$

renders as

E=MC^2

The above line should look like

image

asciimath

Math is done by wrapping text with a % sign

%
sum_(i=1)^n i^3=((n(n+1))/2)^2
%

renders as

sum_(i=1)^n i^3=((n(n+1))/2)^2

The above line should look like

image


discourse-solved

This presents an additional button as an icon at the footer of a post for any post after the first, the first is considered the question, any post after the first is considered a possible answer.

image
In the second post below you should see the Solution button. It has been selected.

image
When a post has a selected solution it is displayed in the list of post having image before the name, e.g.

image


discourse-spoiler-alert

A spoiler is created using the Markdown tag spoiler

This

[spoiler]This is blurred by the spoiler[/spoiler]

renders as

This is blurred by the spoiler

The above line should look like this when it has not be selected (mouse click)

image
and when selected like this

image
Notes: This does not work in e-mails

1 Like

Example of accepted solution.

Example of post that has not been selected as the solution.