Searched tag: Project Solution

How to insert Math Formula into your web page?

  »My Projects

Let's firstly have a look at the final display effect:

Formula 1

$$\lim _{x \rightarrow \infty} \frac{e^{\sin \frac{1}{x}}-1}{\left(1+\frac{1}{x}\right)^{\alpha}-\left(1+\frac{1}{x}\right)}=\lim _{x \rightarrow \infty} \frac{\sin \frac{1}{x}}{\left(1+\frac{1}{x}\right)^{\alpha-1}-1}$$

 

Formula 2

$$\frac{\underset{x\to \infty }{\mathop{\lim }}\,\frac{1}{\infty }}{\sqrt[3]{2x}}$$

 

Step 1: Download MathJax

MathJax download address: https://www.mathjax.org/

 

Related articles

Insert highlighted code with CSS and JS on your website

  »My Projects

It is a reasonable solution to use the embedded editor of Joomla! to highlight any code on an article. With simply one click on Joomla's TinyMCE Editor, it allows you to insert any highlighted code from any programing languages into a Joomla! Article.

Here goes some sample Python codes,

 

Code 1

print("hello world!")

 

Code 2

import love from me

love1 = love.joomla()
for i in range(5):
    print("No. " + str(i) + str(love1))

 

Code 3

# This is a comment
i = 100
while True:
    i -= 1
    print(i)
    if i < 50:
        break

# This is the end of the code

Related articles