The USPTO Registered Logo Badge of the Medical Marijuana Initiative of North America - International Limited, an Arizona Benefit Corporation to the left of Mt Hood sunlit from the northwest in June followed by the proprietary MMINAIL octocopter delivery bot.

Liquid Wrappers


Welcome! This is the Liquid Wrappers page of the MMINAIL.


Note. This page has explicit access to the local jQuery library as well as a local complimentary working (.js) file.


More to come ...


Two Ways To Highlight Code


Here are two methods to highlight a code block when invoking the Jekyll server inside an Html 5 page.


The first way uses a 'Liquid Tag Markup' wrapper, as follows:

1
...

A 'Liquid Tag Markup' wrapper utilizes two sets of braces ... One, a set of external {...} curly braces, the other a set of internal %...% percentage braces.

Nested together, they form a 'Liquid Tag Markup' wrapper.

Using the following YAML commands, a 'Liquid Tag Markup' wrapper can be coax'd to render a highlighted code block.

  • Highlight the block ➡️ highlight,
  • Declare the language ➡️ css,
  • Enable/Disable Line Numbers ➡️ linenos

As follows:

{% highlight css linenos %}
/* A block of code ...
	Placed Inside a Liquid Wrapper */
{% endhighlight %}

Live Rendition: Highlighting a Liquid Tag Markup Wrapper


Here is an example of a live rendition of a 'Liquid Tag Markup' wrapper in action ...

The following highlighted multi-line 'Liquid Tag Markup' wrapper is set to the language of css w line numbers enabled.


1
2
3
4
5
/* Css Code Block ...
Placed Inside a Liquid Wrapper */

@font-face {
font-family: 'Eurostyle';
}

Highlighting a Code n Pre Block


The second method to highlight code uses a standard 'Html 5' <pre> block wrapped inside a set of inline <code> blocks.


Here is a multi-line <pre> block enveloped in two inline <code> blocks ... One north y one south.


Start Instructions Here ...
Code Block w White    Space
	y Indents Preserved
Finish Instructions Here.

Else if Logic Statements


You may also use a 'Liquid Tag Markup' wrapper to render Else if Logical Code Statments, as follows:


'Liquid Tag Markup' Wrapper Template For Else if Statement


{% if %}
<span>{{ ... }}</span>
{% elsif %}
<span>...</span>
{% else %}
<span>...</span>
{% endif %}

How To Set Up A For Loop Using Liquid Tag Markup And Liquid Output In Jekyll


Note. This example will display the name of each element within an array.


For Loop Template


<ul>
{% for element in page.array %}
;where the array and its elements are listed in the front matter section of the page
<li>{{ element }}</li>
{% endfor %}
</ul>

YAML Front Matter


Similar to the front matter area of a cshtml page, the Liquid templating language allows for the declaration of variables and arrays via the YAML language in the front matter section of the page.

The front matter section of a page is located at the very top of the page situated between a set of triple dash, or ---.


In this example, we will be placing a cupcakes array populated with a set of five (5) cupcake within the front matter section of the page ie.) at the top of the page ...

And, then rendering the names of each cupcake to the screen using an unordered list.

It's as simple as A, B, C ...!


Setting The Array


  1. Set up the liquid array of cupcakes in the front matter of the page. Be sure to use triple dash, or --- to partition the front matter area, as follows:

---
cupcakes:
- chocolate
- lemon
- strawberry
- blueberry
- vanilla
---

Note. When constructing a brief array using the Liquid templating language, a JSON-like (YAML) semi-colon separates the name of the array from the names of each element within the array.

In addition, notice also the use of a single pre-fixing dash symbol, or - when declaring each element of the array.


Liquid For Loop #1


We will now use a Liquid For Loop to extract and display the cupcake names from the array by ...

  1. Programmatically iterating over each element of the array,
  • And by,
  1. Outputing the variable cupcake at each iteration of the loop.

As follows:

<ul>
{% for cupcake in page.cupcakes %}
;where the array cupcakes 
	and the elements cupcake
		are declared in the front matter of the page
<li>{{ cupcake }}</li>
{% endfor %}
</ul>

The Array Rendering


When the page is refreshed, the names of the cupcakes now appear in the following unordered list ...

  • chocolate
  • lemon
  • strawberry
  • blueberry
  • vanilla

	Finito! 

Supporting Content


Welcome! This is the Supporting Content section for the MMINAIL Central Live Repository.


E Books


With today's explosion of modern devices, some consumers like to read their articles on their Kindles or iPads.

Therefore, a method to convert any page of this website into an 'eBook' is auto-built into the top of the navigation stack as well as in the footer of every page.

Simply click the small dot epub button eBook icon to render the current page as an Overdrive (.epub) or a Kindle (.mobi) for external reading.

Note. The Apple iBooks platform also reads and displays the (.epub) format.


The A's Have It!


In today's complicated world of coding, even the use of the standard hyperlink has come into question.

Therefore, to make it easy for the end-user, this User Interface, or UI will show safe internal links in the bootstrap default color of light dodger blue.

On the other hand, external links, when designated https secure ... Will be shown in the color of forest green.

All other external links designated with standard http will be shown in the color of indian red.


Acronyms


For an acronym to be visually effective when reading a line of text, the acronym must first be declared.

In addition, the acronym must stand out from the body of information.

To accomplish both of these objectives, the authors have selected Ashley Gold, a primary color within the registered logo badge of the Benefit corporation for which to highlight acronyms.

Whenever the end user spies a designated acronym of Ashley Gold color, simply hover over the acronym to reveal the underlying meaning of the acronym letters.


Screen Responsiveness


This page has been tested for mobile responsiveness on a virtual Galaxy S5 smartphone emulator.

The authors have determined the accuracies of the page renderings at both a portrait width of 360px and a landscape width of 640px.

In addition, pages are also tested against an Amazon Kindle Fire HDX 7, 3rd Generation tablet.

On the Kindle tablet, both portrait and landscape renderings appear accurate, as well.

And, on the Amazon Fire phone, using automatic screen rotation, both portrait and landscape renderings appear accurate.


How To Navigate This Website


  • The Navigation to your right is set up to return to this Home page by clicking on the Home icon   south of the divider.

  • To select any of the other topics or subtopics, simply click on the corresponding glyphicon to open up the referenced file.

  • If you get stuck, simply click on the Home icon   below the divider to be hyperlinked back to this Home page.

Got An Idea?


If you have an idea that will spruce this site up even better than it already is, then you know the drill.

Simply go ahead and fork this repo, make your changes, and send me a pull request.


Site Monitoring


Note. The Http Headers of this repo are being monitored by Internet Supervision dot com


25 Mile Rule


The MMINAIL is dedicated to the preservation of the hard-earned rights of Medical patients to grow up to (12) state-legal Medicinal plants.

In a connective cartography of ideas and hyperlinks spanning the entire connectome of the modern Medical Marijuana Initiative ...

The open source authors of this project hope to enlighten the world to the plight of the common medical patient.

Due to a labyrinth of government regulations and costs, today's common medical patient is virtually devoid of healing phyto-cannabinoids and other beneficial terpenes globally for no other reason than his or her current residential address.


Unconstitutional


"When residing 25 miles extant of a state legalized dispensary"

Doesn't that sound a bit strange to you?

Restricting access to medicine ...

Almost Un-constitutional, isn't it?

And, with patients in Arizona paying anywhere from $75 to $90 USD for a (1/8) ounce of medicine ...

Don't you think it is time that we allow ALL patients the right to grow, stash, and cure their own medicines?


Make Contact


We do at the MMINAIL.

If you agree, why don't you donate a little spare cash?

Or, a little of your coding time?

Or, simply contact your favorite Arizona State Senators and Congressional Representatives today!


No Warranty


Disclaimer. The author of this website has made every effort to ensure the accuracy of the information herein.

However, the information contained in this website, and in its pages, is offered to the public without any warranty expressed or implied.

Therefore, the author of this website, and by extension its pages and content cannot be held liable for any damages that may be caused indirectly or directly by the software instructions or tutorials contained in the pages of this website.

For further review, please see the License page of this website and/or the Privacy Policy page of this website to clarify.


Reproduction In Part


Most authors will allow the reproduction of their works in part when the case of brief quotations embodied in critical articles or reviews is addressed.

Therefore, please remember to provide a Link-back to the original author, or to the publisher of the original publication when citing.

Thank you for your consideration.


Fork It


If you are an expert in your field of specialty, then I suggest you fork the working repo of this Website and create a Sub-menu topic of your choosing that may be beneficial to our readers.


Send us a Pull Request.


Our team of coders will review your contribution and get back to you with a "thumbs up" ( or, "thumbs down" ).


Can You Contribute Code?


As we can now decipher the time spent by our functions at the code block level ...

How much of your coding time are you willing to invest in this project?

As we rely heavily upon contributions from the coding community, your contribution of code will be greatly appreciated.


Can You Contribute Cash?


As we can now spend the equivalent of our grandparents' monthly mortgage payment at our local Sunday football games ...

How much of your spare cash are you willing to invest in this project?

As we rely heavily upon contributions from the coding community, your contribution of cash will be greatly appreciated.


Can You Contribute Ether?


As we have witnessed the growth of Bitcoin (BTC) from 8 cents to $10,000 USD over the course of the last decade ...

How much of your spare Ether ( ETH ) are you willing to invest in this project?

As we rely heavily upon contributions from the coding community, your contribution of ether will be greatly appreciated.


Public Hash


Scan the following QR Code to extract the Public hash in support of our Medcoin™ Crypto Currency Project.

QR Code - Click to Reveal - the Medcoin Public Hash


Thank you for your contribution.


The Management

The USPTO Registered Logo Badge of the Medical Marijuana Initiative of North America - International Limited, an Arizona Benefit Corporation

Copyright © 2000 - 2017

The Medical Marijuana Initiative of North America Small Registered MMINAIL™ Logo Badge Small Registered MMINAIL™ Logo Badge
- International Limited Small R-Reggae™ Trademark Symbol Logo Badge Small R-Reggae™ Trademark Symbol Logo Badge