NIWPI/pages/test/06.test2/item.md

12 KiB

title media_order private date taxonomy process twig_first never_cache_twig cache_enable visible theme creator hero_classes blog_url show_sidebar show_breadcrumbs show_pagination content textformatter items sitemap
test2 2248137.png true 15:32 18-03-2018
category tag
test
test
markdown twig
true true
true false true true afterburner2 erreur32 parallax /test2 true true true
items limit order pagination url_taxonomy_filters
- '@self.children' 5
by dir
date desc
0 0
0
@taxonomy.category
test
ignore
true

Mes Fucking tests

 Process Twig First:  ON 

 

 Page:               Default 

 <!-- test -->

 #### INSERT page ( minicode)  ON 

 test.txt =

{{ 'test.txt' | minicode }}

test.html =

{{ 'test.html' | minicode }}

page title

{{ page.title }}

    {% for item in view.collection %}
  • {{ item.title }}
  • {% endfor %}


<link rel="stylesheet" type="text/css" href="https://unpkg.com/pell/dist/pell.min.css"> <style> /* override styles here */ .pell-content { background-color: pink; } </style> <script src="https://unpkg.com/pell"></script>

page time reading

{{ page.content|readingtime }}

[TOC]

SHORTCODe desactivé !!!

{% set twig_text = "[size= 50] bbcode 50 [/size]" %} {{ twig_text|shortcodes }}

{% set twig_text = "[size= 10]SHORTCODE desactivé !!![/size]" %} {{ twig_text|shortcodes }}

 


 

 

 


Minitoc

[MINITOC]

 


 

{{ shortcode.section.author }}
TEST
{{ shortcode.section.quote }}
 

{% set twig_text = "This is [size=30]BBCODE bigger text[/size] and this is [color=green]green text[/color]" %} {{ twig_text|shortcodes }}

 {% set twig_text = "This is [size=30]bigger text[/size] and this is [color=green]green text[/color]" %} {{ twig_text|shortcodes }} 

text cool

shortcodeMeta.shortcode.section.autho {{ shortcode.section.quote }}

[section name="author"] ### Johnny Appleseed Johnny Appleseed was an American pioneer nurseryman who introduced apple trees to large parts of Pennsylvania, Ontario, Ohio, Indiana, and Illinois, as well as the northern counties of present-day West Virginia. He became an American legend while still alive, due to his kind, generous ways, his leadership in conservation, and the symbolic importance he attributed to apples. [/section] [section name="quote"] > Some are born great, some achieve greatness, and some have greatness thrust upon them. Read more at http://www.brainyquote.com/quotes/topics/topic_great.html#tdqt3strtEYBCH43.99 > <cite>William Shakespeare</cite> Regular Markdown content that will be output as page.content [/section]

[section name="author"]

Johnny Appleseed

Johnny Appleseed was an American pioneer nurseryman who introduced apple trees to large parts of Pennsylvania, Ontario, Ohio, Indiana, and Illinois, as well as the northern counties of present-day West Virginia. He became an American legend while still alive, due to his kind, generous ways, his leadership in conservation, and the symbolic importance he attributed to apples. [/section] [section name="quote"] Some are born great, some achieve greatness, and some have greatness thrust upon them. Read more at http://www.brainyquote.com/quotes/topics/topic_great.html#tdqt3strtEYBCH43.99 cite>William Shakespeare</cite>

Regular Markdown content that will be output as page.content [/section]

[section name="author"]

du codedw



bla bla

NOTICE

[notice=warning] Danger Will Robinson! Danger, Will Robinson! [/notice]

 

Echo'System'    Security & News    G33K info     Scripts </> 

  HACK </> 

  HACK </> 

This is some [u]bb style underline[/u] and not much else [center]This is centered[/center] This is [size=30]bigger text[/size] and this is [color=blue]blue text[/color]
If you need to change any value,

then the best process is to copy the [url=https://github.com/getgrav/grav-plugin-shortcode-assets/blob/develop/shortcode-assets.yaml]shortcode-assets.yaml[/url] file into your users/config/plugins/ folder (create it if it doesn't exist), and then modify there.

This will override the default settings. Once the plugin is installed you can use the following syntax in your page content to add various asset types [css, inlineCss, js, inlineJs]:

Advanced

The Shortcode Assets plugin supports all the available options That the [url=https://learn.getgrav.org/themes/asset-manager#options]Grav Asset Manager supports[/url]. You can specify priority, pipeline and media for [b]CSS files[/b], and priority, pipeline, loading, and group for [b]JS files[/b]. For example:

[assets=css priority=100 pipeline=false]test1.css[/assets]

[assets=js loading="async defer" group="bottom"]test1.js[/assets]

[quote] Note: Any changes you have made to any of the files listed under this directory will also be removed and replaced by the new set. Any files located elsewhere (for example a YAML settings file placed in user/config/plugins) will remain intact. [/quote]

   

Posted By:  {{ page.header.creator }}

Posted By:  {{ home_url }}/authors/query{{ config.system.param_sep }}{{ ownerUtils.getUser(page.header.creator).username }} {{ ownerUtils.getUser(page.header.creator).fullname }}

Usage filecontent

 This plugin provides both a Twig [b]filter[/b] and [b]function[/b]. To use them simply use the following syntax:

filename

The plugin is to be called from a page Markdown source file (eg. item.md).

filesource

#Exemple     [ plugin:filesource ](*32test.md*)

Résultat:

[plugin:filesource](test.md)

[plugin:filesource](test.md)

 

[plugin:filesource](test.txt)

[plugin:filesource](test.txt)

NOTES

[b]filesource[/b] can be used to embed [i]any[/i] file to a page as text and it [i]won't[/i]

check the file content type or encoding. Embedding binary or other non-text files may have unexpected results.