The purpose of this wiki is to demonstrate how we can create wiki content from which we can also generate slides for building a Moose manual. The following Sections detail the various aspects we need to be able to support such as math, images, and code samples. The trick is doing this in a way that is supported both on the mooseframework.org and the slide generator.


An inline formula $$$\int_a^bf(x)dx$$$ with some test on both sides.
$$$e$$$ starting equation.
An ending equation $$$x$$$

A formula: $$$$-\left( \psi, \nabla \cdot k(x)\nabla u \right) = \left( \nabla\psi, k(x)\nabla u \right) - \langle \psi, k(x)\nabla u \cdot \hat{n} \rangle$$$$

Another formula: $$$$\underbrace{\left(\nabla\psi, k\nabla u \right)}_{Kernel} - \underbrace{\langle\psi, k\nabla u\cdot \hat{n} \rangle}_{BC} + \underbrace{\left(\psi, \vec{\beta} \cdot \nabla u\right)}_{Kernel} - \underbrace{\left(\psi, f\right)}_{Kernel} = 0$$$$

Multiline: $$$$\begin{align} B &= -\nabla \times E,\\ E &= \nabla \times B - 4\pi j, \end{align}$$$$


In-line code looks like this for some MooseObject.

We can also do code blocks

Kernel::computeOffDiagJacobianScalar(unsigned int jvar)
  DenseMatrix<Number> & ke = _assembly.jacobianBlock(_var.number(), jvar);
  MooseVariableScalar & jv = _sys.getScalarVariable(_tid, jvar);

  for (_i = 0; _i < _test.size(); _i++)
    for (_j = 0; _j < jv.order(); _j++)
      for (_qp = 0; _qp < _qrule->n_points(); _qp++)
        ke(_i, _j) += _JxW[_qp] * _coord[_qp] * computeQpOffDiagJacobian(jvar);


Example 20: UserObjects demonstrates the creation and use of a custom UserObject, the results of which at 4 and 10 timesteps are shown below.

caption indented by 4 spaces