From c7f93dc789da16ff03fa37b1c14ccc03c80e6b0a Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 8 Oct 2019 23:55:34 +0200 Subject: Update example file structure, give each shortcode own file --- .../content/docs/introduction/examples/_index.md | 81 -------- .../docs/introduction/examples/shortcodes.md | 229 --------------------- .../content/docs/introduction/examples/with-toc.md | 64 ------ .../docs/introduction/examples/without-toc.md | 59 ------ 4 files changed, 433 deletions(-) delete mode 100644 exampleSite/content/docs/introduction/examples/_index.md delete mode 100644 exampleSite/content/docs/introduction/examples/shortcodes.md delete mode 100644 exampleSite/content/docs/introduction/examples/with-toc.md delete mode 100644 exampleSite/content/docs/introduction/examples/without-toc.md (limited to 'exampleSite/content/docs/introduction/examples') diff --git a/exampleSite/content/docs/introduction/examples/_index.md b/exampleSite/content/docs/introduction/examples/_index.md deleted file mode 100644 index d322f8d..0000000 --- a/exampleSite/content/docs/introduction/examples/_index.md +++ /dev/null @@ -1,81 +0,0 @@ -# Ubi loqui - -## Mentem genus facietque salire tempus bracchia - -Lorem markdownum partu paterno Achillem. Habent amne generosi aderant ad pellem -nec erat sustinet merces columque haec et, dixit minus nutrit accipiam subibis -subdidit. Temeraria servatum agros qui sed fulva facta. Primum ultima, dedit, -suo quisque linguae medentes fixo: tum petis. - -## Rapit vocant si hunc siste adspice - -Ora precari Patraeque Neptunia, dixit Danae [Cithaeron -armaque](http://mersis-an.org/litoristum) maxima in **nati Coniugis** templis -fluidove. Effugit usus nec ingreditur agmen *ac manus* conlato. Nullis vagis -nequiquam vultibus aliquos altera *suum venis* teneas fretum. Armos [remotis -hoc](http://tutum.io/me) sine ferrea iuncta quam! - -## Locus fuit caecis - -Nefas discordemque domino montes numen tum humili nexilibusque exit, Iove. Quae -miror esse, scelerisque Melaneus viribus. Miseri laurus. Hoc est proposita me -ante aliquid, aura inponere candidioribus quidque accendit bella, sumpta. -Intravit quam erat figentem hunc, motus de fontes parvo tempestate. - - iscsi_virus = pitch(json_in_on(eupViral), - northbridge_services_troubleshooting, personal( - firmware_rw.trash_rw_crm.device(interactive_gopher_personal, - software, -1), megabit, ergonomicsSoftware(cmyk_usb_panel, - mips_whitelist_duplex, cpa))); - if (5) { - managementNetwork += dma - boolean; - kilohertz_token = 2; - honeypot_affiliate_ergonomics = fiber; - } - mouseNorthbridge = byte(nybble_xmp_modem.horse_subnet( - analogThroughputService * graphicPoint, drop(daw_bit, dnsIntranet), - gateway_ospf), repository.domain_key.mouse(serverData(fileNetwork, - trim_duplex_file), cellTapeDirect, token_tooltip_mashup( - ripcordingMashup))); - module_it = honeypot_driver(client_cold_dvr(593902, ripping_frequency) + - coreLog.joystick(componentUdpLink), windows_expansion_touchscreen); - bashGigabit.external.reality(2, server_hardware_codec.flops.ebookSampling( - ciscNavigationBacklink, table + cleanDriver), indexProtocolIsp); - -## Placabilis coactis nega ingemuit ignoscat nimia non - -Frontis turba. Oculi gravis est Delphice; *inque praedaque* sanguine manu non. - - if (ad_api) { - zif += usb.tiffAvatarRate(subnet, digital_rt) + exploitDrive; - gigaflops(2 - bluetooth, edi_asp_memory.gopher(queryCursor, laptop), - panel_point_firmware); - spyware_bash.statePopApplet = express_netbios_digital( - insertion_troubleshooting.brouter(recordFolderUs), 65); - } - recursionCoreRay = -5; - if (hub == non) { - portBoxVirus = soundWeb(recursive_card(rwTechnologyLeopard), - font_radcab, guidCmsScalable + reciprocalMatrixPim); - left.bug = screenshot; - } else { - tooltipOpacity = raw_process_permalink(webcamFontUser, -1); - executable_router += tape; - } - if (tft) { - bandwidthWeb *= social_page; - } else { - regular += 611883; - thumbnail /= system_lag_keyboard; - } - -## Caesorum illa tu sentit micat vestes papyriferi - -Inde aderam facti; Theseus vis de tauri illa peream. Oculos **uberaque** non -regisque vobis cursuque, opus venit quam vulnera. Et maiora necemque, lege modo; -gestanda nitidi, vero? Dum ne pectoraque testantur. - -Venasque repulsa Samos qui, exspectatum eram animosque hinc, [aut -manes](http://www.creveratnon.net/apricaaetheriis), Assyrii. Cupiens auctoribus -pariter rubet, profana magni super nocens. Vos ius sibilat inpar turba visae -iusto! Sedes ante dum superest **extrema**. diff --git a/exampleSite/content/docs/introduction/examples/shortcodes.md b/exampleSite/content/docs/introduction/examples/shortcodes.md deleted file mode 100644 index c2f115a..0000000 --- a/exampleSite/content/docs/introduction/examples/shortcodes.md +++ /dev/null @@ -1,229 +0,0 @@ ---- -weight: 3 ---- - -# Shortcodes - -## Hints - -Hint shortcode can be used as hint/alerts/notification block. There are 3 colors to choose: `info`, `warning` and `danger`. -```tpl -{{}} -**Markdown content** -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -{{}} -``` - -{{< hint info >}} -**Markdown content** -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -{{< /hint >}} - -{{< hint warning >}} -**Markdown content** -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -{{< /hint >}} - -{{< hint danger >}} -**Markdown content** -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -{{< /hint >}} - -## Buttons - -```tpl -{{}}Get Home{{}} -{{}}Contribute{{}} -``` - -{{< button relref="/" >}}Get Home{{< /button >}} -{{< button href="https://github.com/alex-shpak/hugo-book" >}}Contribute{{< /button >}} - -## Tabs - -```tpl -{{}} -{{}} # MacOS Content {{}} -{{}} # Linux Content {{}} -{{}} # Windows Content {{}} -{{}} -``` - -{{< tabs "uniqueid" >}} -{{< tab "MacOS" >}} -# MacOS - -This is tab **MacOS** content. - -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /tab >}} - -{{< tab "Linux" >}} - -# Linux - -This is tab **Linux** content. - -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /tab >}} - -{{< tab "Windows" >}} - -# Windows - -This is tab **Windows** content. - -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /tab >}} -{{< /tabs >}} - -## Columns - -```html -{{}} -# Left Content -Lorem markdownum insigne... - -<---> - -# Mid Content -Lorem markdownum insigne... - -<---> - -# Right Content -Lorem markdownum insigne... -{{}} -``` - -{{< columns >}} -## Left Content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. - -<---> - -## Mid Content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! - -<---> - -## Right Content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /columns >}} - -## Expand shortcode - -Expand shortcode can help to decrease clutter on screen by hiding part of text - -### Default - -```tpl -{{}} -## Markdown content -Lorem markdownum insigne... -{{}} -``` - -{{< expand >}} -## Markdown content -Lorem markdownum insigne... -{{< /expand >}} - -### With Custom Label - -```tpl -{{}} -## Markdown content -Lorem markdownum insigne... -{{}} -``` - -{{< expand "Custom Label" "..." >}} -## Markdown content -Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat -stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa -protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. -Miseratus fonte Ditis conubia. -{{< /expand >}} - -## Mermaid Chart - -{{< columns >}} -```tpl -{{}} -sequenceDiagram - Alice->>Bob: Hello Bob, how are you? - alt is sick - Bob->>Alice: Not so good :( - else is well - Bob->>Alice: Feeling fresh like a daisy - end - opt Extra response - Bob->>Alice: Thanks for asking - end -{{}} -``` - -<---> - -{{< mermaid >}} -sequenceDiagram - Alice->>Bob: Hello Bob, how are you? - alt is sick - Bob->>Alice: Not so good :( - else is well - Bob->>Alice: Feeling fresh like a daisy - end - opt Extra response - Bob->>Alice: Thanks for asking - end -{{< /mermaid >}} - -{{< /columns >}} - - -## KaTeX - -{{< columns >}} - -```latex -{{}} -x = \begin{cases} - a &\text{if } b \\ - c &\text{if } d -\end{cases} -{{}} -``` - -<---> - -{{< katex >}} -x = \begin{cases} - a &\text{if } b \\ - c &\text{if } d -\end{cases} -{{< /katex >}} - -{{< /columns >}} - - diff --git a/exampleSite/content/docs/introduction/examples/with-toc.md b/exampleSite/content/docs/introduction/examples/with-toc.md deleted file mode 100644 index c92685d..0000000 --- a/exampleSite/content/docs/introduction/examples/with-toc.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: With Table of Contents -weight: 1 ---- -# Caput vino delphine in tamen vias - -## Cognita laeva illo fracta - -Lorem markdownum pavent auras, surgit nunc cingentibus libet **Laomedonque que** -est. Pastor [An](http://est.org/ire.aspx) arbor filia foedat, ne [fugit -aliter](http://www.indiciumturbam.org/moramquid.php), per. Helicona illas et -callida neptem est *Oresitrophos* caput, dentibus est venit. Tenet reddite -[famuli](http://www.antro-et.net/) praesentem fortibus, quaeque vis foret si -frondes *gelidos* gravidae circumtulit [inpulit armenta -nativum](http://incurvasustulit.io/illi-virtute.html). - -1. Te at cruciabere vides rubentis manebo -2. Maturuit in praetemptat ruborem ignara postquam habitasse -3. Subitarum supplevit quoque fontesque venabula spretis modo -4. Montis tot est mali quasque gravis -5. Quinquennem domus arsit ipse -6. Pellem turis pugnabant locavit - -## Natus quaerere - -Pectora et sine mulcere, coniuge dum tincta incurvae. Quis iam; est dextra -Peneosque, metuis a verba, primo. Illa sed colloque suis: magno: gramen, aera -excutiunt concipit. - -> Phrygiae petendo suisque extimuit, super, pars quod audet! Turba negarem. -> Fuerat attonitus; et dextra retinet sidera ulnas undas instimulat vacuae -> generis? *Agnus* dabat et ignotis dextera, sic tibi pacis **feriente at mora** -> euhoeque *comites hostem* vestras Phineus. Vultuque sanguine dominoque [metuit -> risi](http://iuvat.org/eundem.php) fama vergit summaque meus clarissimus -> artesque tinguebat successor nominis cervice caelicolae. - -## Limitibus misere sit - -Aurea non fata repertis praerupit feruntur simul, meae hosti lentaque *citius -levibus*, cum sede dixit, Phaethon texta. *Albentibus summos* multifidasque -iungitur loquendi an pectore, mihi ursaque omnia adfata, aeno parvumque in animi -perlucentes. Epytus agis ait vixque clamat ornum adversam spondet, quid sceptra -ipsum **est**. Reseret nec; saeva suo passu debentia linguam terga et aures et -cervix [de](http://www.amnem.io/pervenit.aspx) ubera. Coercet gelidumque manus, -doluit volvitur induta? - -## Enim sua - -Iuvenilior filia inlustre templa quidem herbis permittat trahens huic. In -cruribus proceres sole crescitque *fata*, quos quos; merui maris se non tamen -in, mea. - -## Germana aves pignus tecta - -Mortalia rudibusque caelum cognosceret tantum aquis redito felicior texit, nec, -aris parvo acre. Me parum contulerant multi tenentem, gratissime suis; vultum tu -occupat deficeret corpora, sonum. E Actaea inplevit Phinea concepit nomenque -potest sanguine captam nulla et, in duxisses campis non; mercede. Dicere cur -Leucothoen obitum? - -Postibus mittam est *nubibus principium pluma*, exsecratur facta et. Iunge -Mnemonidas pallamque pars; vere restitit alis flumina quae **quoque**, est -ignara infestus Pyrrha. Di ducis terris maculatum At sede praemia manes -nullaque! diff --git a/exampleSite/content/docs/introduction/examples/without-toc.md b/exampleSite/content/docs/introduction/examples/without-toc.md deleted file mode 100644 index 52003b1..0000000 --- a/exampleSite/content/docs/introduction/examples/without-toc.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: Without Table of Contents -weight: 2 -bookToc: false ---- - -# At me ipso nepotibus nunc celebratior genus - -## Tanto oblite - -Lorem markdownum pectora novis patenti igne sua opus aurae feras materiaque -illic demersit imago et aristas questaque posset. Vomit quoque suo inhaesuro -clara. Esse cumque, per referri triste. Ut exponit solisque communis in tendens -vincetis agisque iamque huic bene ante vetat omina Thebae rates. Aeacus servat -admonitu concidit, ad resimas vultus et rugas vultu **dignamque** Siphnon. - -Quam iugulum regia simulacra, plus meruit humo pecorumque haesit, ab discedunt -dixit: ritu pharetramque. Exul Laurenti orantem modo, per densum missisque labor -manibus non colla unum, obiectat. Tu pervia collo, fessus quae Cretenque Myconon -crate! Tegumenque quae invisi sudore per vocari quaque plus ventis fluidos. Nodo -perque, fugisse pectora sorores. - -## Summe promissa supple vadit lenius - -Quibus largis latebris aethera versato est, ait sentiat faciemque. Aequata alis -nec Caeneus exululat inclite corpus est, ire **tibi** ostendens et tibi. Rigent -et vires dique possent lumina; **eadem** dixit poma funeribus paret et felix -reddebant ventis utile lignum. - -1. Remansit notam Stygia feroxque -2. Et dabit materna -3. Vipereas Phrygiaeque umbram sollicito cruore conlucere suus -4. Quarum Elis corniger -5. Nec ieiunia dixit - -Vertitur mos ortu ramosam contudit dumque; placabat ac lumen. Coniunx Amoris -spatium poenamque cavernis Thebae Pleiadasque ponunt, rapiare cum quae parum -nimium rima. - -## Quidem resupinus inducto solebat una facinus quae - -Credulitas iniqua praepetibus paruit prospexit, voce poena, sub rupit sinuatur, -quin suum ventorumque arcadiae priori. Soporiferam erat formamque, fecit, -invergens, nymphae mutat fessas ait finge. - -1. Baculum mandataque ne addere capiti violentior -2. Altera duas quam hoc ille tenues inquit -3. Sicula sidereus latrantis domoque ratae polluit comites -4. Possit oro clausura namque se nunc iuvenisque -5. Faciem posuit -6. Quodque cum ponunt novercae nata vestrae aratra - -Ite extrema Phrygiis, patre dentibus, tonso perculit, enim blanda, manibus fide -quos caput armis, posse! Nocendo fas Alcyonae lacertis structa ferarum manus -fulmen dubius, saxa caelum effuge extremis fixum tumor adfecit **bella**, -potentes? Dum nec insidiosa tempora tegit -[spirarunt](http://mihiferre.net/iuvenes-peto.html). Per lupi pars foliis, -porreximus humum negant sunt subposuere Sidone steterant auro. Memoraverit sine: -ferrum idem Orion caelum heres gerebat fixis? -- cgit v1.2.3