Enable syntax highlighting in Mkdocs
This commit is contained in:
parent
0d30870882
commit
fe61865a02
@ -151,7 +151,7 @@ Below is a minimal functional `default` template that fulfills the above require
|
||||
|
||||
#### Plain Text
|
||||
|
||||
```html
|
||||
```php
|
||||
<p class="sw-text" data-component="lead">
|
||||
<?php get_component("lead"); ?>
|
||||
</p>
|
||||
@ -159,7 +159,7 @@ Below is a minimal functional `default` template that fulfills the above require
|
||||
|
||||
#### HTML
|
||||
|
||||
```html
|
||||
```php
|
||||
<div class="sw-editable" data-component="component-name">
|
||||
<?php get_component("component-name"); ?>
|
||||
</div>
|
||||
@ -167,7 +167,7 @@ Below is a minimal functional `default` template that fulfills the above require
|
||||
|
||||
#### Complex
|
||||
|
||||
```html
|
||||
```php
|
||||
<?php
|
||||
if (!is_complex_empty("complex-component-name")) {
|
||||
$comp = get_complex_component("complex-component-name", null, ['icon', 'image', 'link', 'text']);
|
||||
@ -191,7 +191,7 @@ if (!is_complex_empty("complex-component-name")) {
|
||||
|
||||
#### List of social media links
|
||||
|
||||
```html
|
||||
```php
|
||||
<?php
|
||||
$social = get_socialmedia_urls();
|
||||
foreach ($social as $s) {
|
||||
@ -208,7 +208,7 @@ foreach ($social as $s) {
|
||||
```
|
||||
|
||||
#### Contact Information
|
||||
```html
|
||||
```php
|
||||
<?php
|
||||
format_special(
|
||||
get_setting("address"),
|
||||
@ -229,7 +229,7 @@ format_special(
|
||||
```
|
||||
|
||||
#### Footer Links
|
||||
```html
|
||||
```php
|
||||
<ul>
|
||||
<?php
|
||||
$links = get_footer_urls();
|
||||
|
@ -14,3 +14,5 @@ site_author: Netsyms Technologies
|
||||
repo_name: 'Business/SiteWriter'
|
||||
repo_url: 'https://source.netsyms.com/Business/SiteWriter'
|
||||
copyright: Copyright © 2018 Netsyms Technologies. All rights reserved. Copying is allowed for instructional purposes (such as creating an internal user help document) as long as credit is given and this copyright notice is included. For other purposes, or if you are selling a product containing copied material, please <a href="https://netsyms.com/contact" target="_BLANK">contact us</a> for permission.
|
||||
markdown_extensions:
|
||||
- codehilite
|
||||
|
Loading…
x
Reference in New Issue
Block a user