This is an example article to help you get started


 
John Smith
Last Updated: 15 days ago

So here's some content to show the different types of formatting supported in this template. Bascially you can do anything that you could normally do with Bootstrap 4 and on top of that the knowledge base template is providing some callouts and other block types.

Second-level of headings

Third-level of headings

Fourth level of headings

And some paragraph so we don't get too much into the headings.

Of course, you can also display quotes nicely formatted.
- Unknown Author

Callouts

It's like an alert in Bootstrap but with different name

Here's one warning callout block:
Be ware of the aliens!
Other types of block could be success and error and those look like this:
This is a success message. Something that your customers might do to make them successful.
Put great emhasis on messages with the danger block.
And put information that should be stressed out but not that imprtant in simple informational callout blocks.

Images

Example image of Surface tablet
This a nice image to complement your content

Code

<?php
  $testVar = 'This is some random code block';
  echo $testVar;

And you can also have any other type of embedded code. Say from GitHub like this one for example:

# Lottery Number Generator
from random import choice
import console
#Helper function to input a number within a given range:
def input_number(prompt, min_value, max_value):
value = None
while value is None:
try:
value = int(raw_input(prompt))
except ValueError:
print 'Please enter a number!'
if value < min_value or value > max_value:
print ('Please enter a number between %i and %i!' %
(min_value, max_value))
value = None
return value
#Print the title and input the range of numbers:
console.clear()
title = 'Lottery Number Generator'
print title
print '=' * 40
minimum = input_number('Smallest number: ', 1, 9999)
maximum = input_number('Largest number: ', minimum, 9999)
n = input_number('How many numbers do you want to draw? ',
1, maximum - minimum + 1)
#Pick the numbers and print the results:
all_numbers = range(minimum, maximum + 1)
selection = []
for i in xrange(n):
r = choice(all_numbers)
selection.append(r)
all_numbers.remove(r)
print '=' * 40
print 'Your numbers:', selection
view raw random.py hosted with ❤ by GitHub



Was this article helpful?