Text in a box

Published: 20/07/2025

four spaces before test then here

single-quote, dollar sign, \fbox{ text goes here } dollar-sign, single quote

With commas

‘$\fbox{test is something that can go here but also this}$’

With backticks:

$\fbox{test is something that can go here but also this}$

I don’t know how to do this for a multi-line.

This is no ticks (but included a space before in attempt to make in line.

$\fbox{test is something that can go here but also this}$


A one cell table the syntax straight line, content, straight line straight line, hyphen, straight line

this is a test

Same process as above But the I copy in the two line syntax

Now what happens
if I copy this in

&-n-b-s-p-; solution in header row

 
test

Four spaces in top row * need a space between row above and this solution.

test

Create a three row table Nothing in the header row then delete top two rows *Nope. Still interprets remaining row as headers row.

three

Regular table please

a b
this test

So far the fbox looks the most promising

with parbox and three dashes

$\fbox{\parbox{\textwidth}{%hello1\\\hello2\\\hello3}}$

with parbox and two dashes

$\fbox{\parbox{\textwidth}{%hello1\\hello2\\hello3}}$

with

$\fbox{\parbox{\textwidth}{%hello1\\\hello2\\\hello3}}$

matrix{a\b\}

two dashes

$\fbox{\matrix{a\\b\\}}$

Three dashes

$\fbox{\matrix{a\\\b\\\}}$

four dashed $\fbox{\matrix{a\\\\b\\\\}}$


I just copied this straight over from onenote:

this is a test

Also from oneNote

this is a test

I think that the neatest solution will just have to be: format tables so the render normally on website (left-aligned) Change html / css so table headers are not bolded. Then manually bold table headers ehwn you want this ** with these ** I think you just want your tables to be white background, left aligned. Like they are in OneNote. Then I can do header bolding using markdown.