diff --git a/404.html b/404.html index dde85ab41..278ff8da1 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ Page Not Found | Touying - + diff --git a/assets/js/7f65dfb7.76df0f6b.js b/assets/js/7f65dfb7.76df0f6b.js deleted file mode 100644 index 96bda03d1..000000000 --- a/assets/js/7f65dfb7.76df0f6b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6917],{2049:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>d,contentTitle:()=>o,default:()=>h,frontMatter:()=>l,metadata:()=>c,toc:()=>r});var i=n(5893),t=n(1151);const l={sidebar_position:4},o="Code Style",c={id:"code-styles",title:"Code Style",description:"Simple Style",source:"@site/docs/code-styles.md",sourceDirName:".",slug:"/code-styles",permalink:"/touying/docs/next/code-styles",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/docs/code-styles.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Sections and Subsections",permalink:"/touying/docs/next/sections"},next:{title:"Page Layout",permalink:"/touying/docs/next/layout"}},d={},r=[{value:"Simple Style",id:"simple-style",level:2},{value:"Block Style",id:"block-style",level:2},{value:"Convention Over Configuration",id:"convention-over-configuration",level:2}];function a(e){const s={admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"code-style",children:"Code Style"}),"\n",(0,i.jsx)(s.h2,{id:"simple-style",children:"Simple Style"}),"\n",(0,i.jsxs)(s.p,{children:["If we only need simplicity, we can directly input content under the title, just like writing a normal Typst document. The title here serves to divide the pages, and we can use commands like ",(0,i.jsx)(s.code,{children:"#pause"})," to achieve animation effects."]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsxs)(s.p,{children:["You can use an empty title ",(0,i.jsx)(s.code,{children:"=="})," to create a new page. This technique also helps clear the continuation of the previous title."]}),"\n",(0,i.jsxs)(s.p,{children:["PS: We can use the ",(0,i.jsx)(s.code,{children:"#slides-end"})," marker to signify the end of ",(0,i.jsx)(s.code,{children:"#show: slides"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"block-style",children:"Block Style"}),"\n",(0,i.jsxs)(s.p,{children:["Many times, using simple style alone cannot achieve all the functions we need. For more powerful features and clearer structure, we can also use block style in the form of ",(0,i.jsx)(s.code,{children:"#slide[...]"}),". The ",(0,i.jsx)(s.code,{children:"#slide"})," function needs to be unpacked using the syntax ",(0,i.jsx)(s.code,{children:"#let (slide,) = utils.slides(s)"})," to be used correctly after ",(0,i.jsx)(s.code,{children:"#show: slides"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"For example, the previous example can be transformed into:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\n#slide[\n Hello, Touying!\n\n #pause\n\n Hello, Typst!\n]\n'})}),"\n",(0,i.jsx)(s.p,{children:"There are many advantages to doing this:"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Many times, we not only need the default ",(0,i.jsx)(s.code,{children:"#slide[...]"})," but also special ",(0,i.jsx)(s.code,{children:"slide"})," functions like ",(0,i.jsx)(s.code,{children:"#focus-slide[...]"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Different themes' ",(0,i.jsx)(s.code,{children:"#slide[...]"})," functions may have more parameters than the default, such as the university theme's ",(0,i.jsx)(s.code,{children:"#slide[...]"})," function having a ",(0,i.jsx)(s.code,{children:"subtitle"})," parameter."]}),"\n",(0,i.jsxs)(s.li,{children:["Only ",(0,i.jsx)(s.code,{children:"slide"})," functions can use the callback-style content block to achieve complex animation effects with ",(0,i.jsx)(s.code,{children:"#only"})," and ",(0,i.jsx)(s.code,{children:"#uncover"})," functions."]}),"\n",(0,i.jsxs)(s.li,{children:["It has a clearer structure. By identifying ",(0,i.jsx)(s.code,{children:"#slide[...]"})," blocks, we can easily distinguish the specific pagination effects of slides."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"convention-over-configuration",children:"Convention Over Configuration"}),"\n",(0,i.jsxs)(s.p,{children:["You may have noticed that when using the simple theme, using a level-one title automatically creates a section slide. This is because the simple theme registers an ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-section-slide"})," method, so Touying will automatically call this method."]}),"\n",(0,i.jsx)(s.p,{children:"If we don't want it to automatically create such a section slide, we can delete this method:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#(s.methods.touying-new-section-slide = none)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/17a89a59-9491-4e1f-95c0-09a22105ab35",alt:"image"})}),"\n",(0,i.jsx)(s.p,{children:"As you can see, there are only two pages left, and the default section slide is gone."}),"\n",(0,i.jsx)(s.p,{children:"Similarly, we can register a new section slide:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#(s.methods.touying-new-section-slide = (self: none, section, ..args) => {\n self = utils.empty-page(self)\n (s.methods.touying-slide)(self: self, section: section, {\n set align(center + horizon)\n set text(size: 2em, fill: s.colors.primary, style: "italic", weight: "bold")\n section\n }, ..args)\n})\n#let (init, slides, touying-outline) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/5305efda-0cd4-42eb-9f2e-89abc30b6ca2",alt:"image"})}),"\n",(0,i.jsxs)(s.p,{children:["Similarly, we can modify ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-subsection-slide"})," to do the same for ",(0,i.jsx)(s.code,{children:"subsection"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["In fact, besides ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-section-slide"}),", another special ",(0,i.jsx)(s.code,{children:"slide"})," function is the ",(0,i.jsx)(s.code,{children:"s.methods.slide"})," function, which will be called by default in simple style when ",(0,i.jsx)(s.code,{children:"#slide[...]"})," is not explicitly used."]}),"\n",(0,i.jsxs)(s.p,{children:["Also, since ",(0,i.jsx)(s.code,{children:"#slide[...]"})," is registered in ",(0,i.jsx)(s.code,{children:'s.slides = ("slide",)'}),", the ",(0,i.jsx)(s.code,{children:"section"}),", ",(0,i.jsx)(s.code,{children:"subsection"}),", and ",(0,i.jsx)(s.code,{children:"title"})," parameters will be automatically passed, while others like ",(0,i.jsx)(s.code,{children:"#focus-slide[...]"})," will not automatically receive these three parameters."]}),"\n",(0,i.jsxs)(s.admonition,{title:"Principle",type:"tip",children:[(0,i.jsxs)(s.p,{children:["In fact, you can also not use ",(0,i.jsx)(s.code,{children:"#show: slides"})," and ",(0,i.jsx)(s.code,{children:"utils.slides(s)"}),", but only use ",(0,i.jsx)(s.code,{children:"utils.methods(s)"}),", for example:"]}),(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, touying-outline, slide) = utils.methods(s)\n#show: init\n\n#slide(section: [Title], title: [First Slide])[\n Hello, Touying!\n\n #pause\n\n Hello, Typst!\n]\n'})}),(0,i.jsxs)(s.p,{children:["Here, you need to manually pass in ",(0,i.jsx)(s.code,{children:"section"}),", ",(0,i.jsx)(s.code,{children:"subsection"}),", and ",(0,i.jsx)(s.code,{children:"title"}),", but it will have better performance, suitable for cases where faster performance is needed, such as when there are more than dozens or hundreds of pages."]})]})]})}function h(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1151:(e,s,n)=>{n.d(s,{Z:()=>c,a:()=>o});var i=n(7294);const t={},l=i.createContext(t);function o(e){const s=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),i.createElement(l.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7f65dfb7.c76f881a.js b/assets/js/7f65dfb7.c76f881a.js new file mode 100644 index 000000000..7c8d2eee1 --- /dev/null +++ b/assets/js/7f65dfb7.c76f881a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6917],{2049:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>o,default:()=>h,frontMatter:()=>l,metadata:()=>d,toc:()=>r});var i=n(5893),t=n(1151);const l={sidebar_position:4},o="Code Style",d={id:"code-styles",title:"Code Style",description:"Simple Style",source:"@site/docs/code-styles.md",sourceDirName:".",slug:"/code-styles",permalink:"/touying/docs/next/code-styles",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/docs/code-styles.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Sections and Subsections",permalink:"/touying/docs/next/sections"},next:{title:"Page Layout",permalink:"/touying/docs/next/layout"}},c={},r=[{value:"Simple Style",id:"simple-style",level:2},{value:"Block Style",id:"block-style",level:2},{value:"Convention Over Configuration",id:"convention-over-configuration",level:2}];function a(e){const s={admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"code-style",children:"Code Style"}),"\n",(0,i.jsx)(s.h2,{id:"simple-style",children:"Simple Style"}),"\n",(0,i.jsxs)(s.p,{children:["If we only need simplicity, we can directly input content under the heading, just like writing a normal Typst document. The heading here serves to divide the pages, and we can use commands like ",(0,i.jsx)(s.code,{children:"#pause"})," to achieve animation effects."]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsxs)(s.p,{children:["You can use an empty heading ",(0,i.jsx)(s.code,{children:"=="})," to create a new page. This skill also helps clear the continuation of the previous title."]}),"\n",(0,i.jsxs)(s.p,{children:["PS: We can use the ",(0,i.jsx)(s.code,{children:"#slides-end"})," marker to signify the end of ",(0,i.jsx)(s.code,{children:"#show: slides"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"block-style",children:"Block Style"}),"\n",(0,i.jsxs)(s.p,{children:["Many times, using simple style alone cannot achieve all the functions we need. For more powerful features and clearer structure, we can also use block style in the form of ",(0,i.jsx)(s.code,{children:"#slide[...]"}),". The ",(0,i.jsx)(s.code,{children:"#slide"})," function needs to be unpacked using the syntax ",(0,i.jsx)(s.code,{children:"#let (slide,) = utils.slides(s)"})," to be used correctly after ",(0,i.jsx)(s.code,{children:"#show: slides"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"For example, the previous example can be transformed into:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\n#slide[\n Hello, Touying!\n\n #pause\n\n Hello, Typst!\n]\n'})}),"\n",(0,i.jsx)(s.p,{children:"There are many advantages to doing this:"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Many times, we not only need the default ",(0,i.jsx)(s.code,{children:"#slide[...]"})," but also special ",(0,i.jsx)(s.code,{children:"slide"})," functions like ",(0,i.jsx)(s.code,{children:"#focus-slide[...]"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Different themes' ",(0,i.jsx)(s.code,{children:"#slide[...]"})," functions may have more parameters than the default, such as the university theme's ",(0,i.jsx)(s.code,{children:"#slide[...]"})," function having a ",(0,i.jsx)(s.code,{children:"subtitle"})," parameter."]}),"\n",(0,i.jsxs)(s.li,{children:["Only ",(0,i.jsx)(s.code,{children:"slide"})," functions can use the callback-style content block to achieve complex animation effects with ",(0,i.jsx)(s.code,{children:"#only"})," and ",(0,i.jsx)(s.code,{children:"#uncover"})," functions."]}),"\n",(0,i.jsxs)(s.li,{children:["It has a clearer structure. By identifying ",(0,i.jsx)(s.code,{children:"#slide[...]"})," blocks, we can easily distinguish the specific pagination effects of slides."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"convention-over-configuration",children:"Convention Over Configuration"}),"\n",(0,i.jsxs)(s.p,{children:["You may have noticed that when using the simple theme, using a level-one heading automatically creates a new section slide. This is because the simple theme registers an ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-section-slide"})," method, so Touying will automatically call this method."]}),"\n",(0,i.jsx)(s.p,{children:"If we don't want it to automatically create such a section slide, we can delete this method:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#(s.methods.touying-new-section-slide = none)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/17a89a59-9491-4e1f-95c0-09a22105ab35",alt:"image"})}),"\n",(0,i.jsx)(s.p,{children:"As you can see, there are only two pages left, and the default section slide is gone."}),"\n",(0,i.jsx)(s.p,{children:"Similarly, we can register a new section slide:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#(s.methods.touying-new-section-slide = (self: none, section, ..args) => {\n self = utils.empty-page(self)\n (s.methods.touying-slide)(self: self, section: section, {\n set align(center + horizon)\n set text(size: 2em, fill: s.colors.primary, style: "italic", weight: "bold")\n section\n }, ..args)\n})\n#let (init, slides, touying-outline) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/5305efda-0cd4-42eb-9f2e-89abc30b6ca2",alt:"image"})}),"\n",(0,i.jsxs)(s.p,{children:["Similarly, we can modify ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-subsection-slide"})," to do the same for ",(0,i.jsx)(s.code,{children:"subsection"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["In fact, besides ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-section-slide"}),", another special ",(0,i.jsx)(s.code,{children:"slide"})," function is the ",(0,i.jsx)(s.code,{children:"s.methods.slide"})," function, which will be called by default in simple style when ",(0,i.jsx)(s.code,{children:"#slide[...]"})," is not explicitly used."]}),"\n",(0,i.jsxs)(s.p,{children:["Also, since ",(0,i.jsx)(s.code,{children:"#slide[...]"})," is registered in ",(0,i.jsx)(s.code,{children:'s.slides = ("slide",)'}),", the ",(0,i.jsx)(s.code,{children:"section"}),", ",(0,i.jsx)(s.code,{children:"subsection"}),", and ",(0,i.jsx)(s.code,{children:"title"})," parameters will be automatically passed, while others like ",(0,i.jsx)(s.code,{children:"#focus-slide[...]"})," will not automatically receive these three parameters."]}),"\n",(0,i.jsxs)(s.admonition,{title:"Principle",type:"tip",children:[(0,i.jsxs)(s.p,{children:["In fact, you can also not use ",(0,i.jsx)(s.code,{children:"#show: slides"})," and ",(0,i.jsx)(s.code,{children:"utils.slides(s)"}),", but only use ",(0,i.jsx)(s.code,{children:"utils.methods(s)"}),", for example:"]}),(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, touying-outline, slide) = utils.methods(s)\n#show: init\n\n#slide(section: [Title], title: [First Slide])[\n Hello, Touying!\n\n #pause\n\n Hello, Typst!\n]\n'})}),(0,i.jsxs)(s.p,{children:["Here, you need to manually pass in ",(0,i.jsx)(s.code,{children:"section"}),", ",(0,i.jsx)(s.code,{children:"subsection"}),", and ",(0,i.jsx)(s.code,{children:"title"}),", but it will have better performance, suitable for cases where faster performance is needed, such as when there are more than dozens or hundreds of pages."]})]})]})}function h(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1151:(e,s,n)=>{n.d(s,{Z:()=>d,a:()=>o});var i=n(7294);const t={},l=i.createContext(t);function o(e){const s=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),i.createElement(l.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e5b11173.675c602a.js b/assets/js/e5b11173.675c602a.js new file mode 100644 index 000000000..0387da148 --- /dev/null +++ b/assets/js/e5b11173.675c602a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[530],{1847:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>o,default:()=>h,frontMatter:()=>l,metadata:()=>d,toc:()=>r});var i=n(5893),t=n(1151);const l={sidebar_position:4},o="Code Style",d={id:"code-styles",title:"Code Style",description:"Simple Style",source:"@site/versioned_docs/version-0.3.x/code-styles.md",sourceDirName:".",slug:"/code-styles",permalink:"/touying/docs/code-styles",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.3.x/code-styles.md",tags:[],version:"0.3.x",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Sections and Subsections",permalink:"/touying/docs/sections"},next:{title:"Page Layout",permalink:"/touying/docs/layout"}},c={},r=[{value:"Simple Style",id:"simple-style",level:2},{value:"Block Style",id:"block-style",level:2},{value:"Convention Over Configuration",id:"convention-over-configuration",level:2}];function a(e){const s={admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"code-style",children:"Code Style"}),"\n",(0,i.jsx)(s.h2,{id:"simple-style",children:"Simple Style"}),"\n",(0,i.jsxs)(s.p,{children:["If we only need simplicity, we can directly input content under the heading, just like writing a normal Typst document. The heading here serves to divide the pages, and we can use commands like ",(0,i.jsx)(s.code,{children:"#pause"})," to achieve animation effects."]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsxs)(s.p,{children:["You can use an empty heading ",(0,i.jsx)(s.code,{children:"=="})," to create a new page. This skill also helps clear the continuation of the previous title."]}),"\n",(0,i.jsxs)(s.p,{children:["PS: We can use the ",(0,i.jsx)(s.code,{children:"#slides-end"})," marker to signify the end of ",(0,i.jsx)(s.code,{children:"#show: slides"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"block-style",children:"Block Style"}),"\n",(0,i.jsxs)(s.p,{children:["Many times, using simple style alone cannot achieve all the functions we need. For more powerful features and clearer structure, we can also use block style in the form of ",(0,i.jsx)(s.code,{children:"#slide[...]"}),". The ",(0,i.jsx)(s.code,{children:"#slide"})," function needs to be unpacked using the syntax ",(0,i.jsx)(s.code,{children:"#let (slide,) = utils.slides(s)"})," to be used correctly after ",(0,i.jsx)(s.code,{children:"#show: slides"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"For example, the previous example can be transformed into:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\n#slide[\n Hello, Touying!\n\n #pause\n\n Hello, Typst!\n]\n'})}),"\n",(0,i.jsx)(s.p,{children:"There are many advantages to doing this:"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Many times, we not only need the default ",(0,i.jsx)(s.code,{children:"#slide[...]"})," but also special ",(0,i.jsx)(s.code,{children:"slide"})," functions like ",(0,i.jsx)(s.code,{children:"#focus-slide[...]"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Different themes' ",(0,i.jsx)(s.code,{children:"#slide[...]"})," functions may have more parameters than the default, such as the university theme's ",(0,i.jsx)(s.code,{children:"#slide[...]"})," function having a ",(0,i.jsx)(s.code,{children:"subtitle"})," parameter."]}),"\n",(0,i.jsxs)(s.li,{children:["Only ",(0,i.jsx)(s.code,{children:"slide"})," functions can use the callback-style content block to achieve complex animation effects with ",(0,i.jsx)(s.code,{children:"#only"})," and ",(0,i.jsx)(s.code,{children:"#uncover"})," functions."]}),"\n",(0,i.jsxs)(s.li,{children:["It has a clearer structure. By identifying ",(0,i.jsx)(s.code,{children:"#slide[...]"})," blocks, we can easily distinguish the specific pagination effects of slides."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"convention-over-configuration",children:"Convention Over Configuration"}),"\n",(0,i.jsxs)(s.p,{children:["You may have noticed that when using the simple theme, using a level-one heading automatically creates a new section slide. This is because the simple theme registers an ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-section-slide"})," method, so Touying will automatically call this method."]}),"\n",(0,i.jsx)(s.p,{children:"If we don't want it to automatically create such a section slide, we can delete this method:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#(s.methods.touying-new-section-slide = none)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/17a89a59-9491-4e1f-95c0-09a22105ab35",alt:"image"})}),"\n",(0,i.jsx)(s.p,{children:"As you can see, there are only two pages left, and the default section slide is gone."}),"\n",(0,i.jsx)(s.p,{children:"Similarly, we can register a new section slide:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#(s.methods.touying-new-section-slide = (self: none, section, ..args) => {\n self = utils.empty-page(self)\n (s.methods.touying-slide)(self: self, section: section, {\n set align(center + horizon)\n set text(size: 2em, fill: s.colors.primary, style: "italic", weight: "bold")\n section\n }, ..args)\n})\n#let (init, slides, touying-outline) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/5305efda-0cd4-42eb-9f2e-89abc30b6ca2",alt:"image"})}),"\n",(0,i.jsxs)(s.p,{children:["Similarly, we can modify ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-subsection-slide"})," to do the same for ",(0,i.jsx)(s.code,{children:"subsection"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["In fact, besides ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-section-slide"}),", another special ",(0,i.jsx)(s.code,{children:"slide"})," function is the ",(0,i.jsx)(s.code,{children:"s.methods.slide"})," function, which will be called by default in simple style when ",(0,i.jsx)(s.code,{children:"#slide[...]"})," is not explicitly used."]}),"\n",(0,i.jsxs)(s.p,{children:["Also, since ",(0,i.jsx)(s.code,{children:"#slide[...]"})," is registered in ",(0,i.jsx)(s.code,{children:'s.slides = ("slide",)'}),", the ",(0,i.jsx)(s.code,{children:"section"}),", ",(0,i.jsx)(s.code,{children:"subsection"}),", and ",(0,i.jsx)(s.code,{children:"title"})," parameters will be automatically passed, while others like ",(0,i.jsx)(s.code,{children:"#focus-slide[...]"})," will not automatically receive these three parameters."]}),"\n",(0,i.jsxs)(s.admonition,{title:"Principle",type:"tip",children:[(0,i.jsxs)(s.p,{children:["In fact, you can also not use ",(0,i.jsx)(s.code,{children:"#show: slides"})," and ",(0,i.jsx)(s.code,{children:"utils.slides(s)"}),", but only use ",(0,i.jsx)(s.code,{children:"utils.methods(s)"}),", for example:"]}),(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, touying-outline, slide) = utils.methods(s)\n#show: init\n\n#slide(section: [Title], title: [First Slide])[\n Hello, Touying!\n\n #pause\n\n Hello, Typst!\n]\n'})}),(0,i.jsxs)(s.p,{children:["Here, you need to manually pass in ",(0,i.jsx)(s.code,{children:"section"}),", ",(0,i.jsx)(s.code,{children:"subsection"}),", and ",(0,i.jsx)(s.code,{children:"title"}),", but it will have better performance, suitable for cases where faster performance is needed, such as when there are more than dozens or hundreds of pages."]})]})]})}function h(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1151:(e,s,n)=>{n.d(s,{Z:()=>d,a:()=>o});var i=n(7294);const t={},l=i.createContext(t);function o(e){const s=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),i.createElement(l.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e5b11173.8ed12012.js b/assets/js/e5b11173.8ed12012.js deleted file mode 100644 index 35139b1ad..000000000 --- a/assets/js/e5b11173.8ed12012.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[530],{1847:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>d,contentTitle:()=>o,default:()=>h,frontMatter:()=>l,metadata:()=>c,toc:()=>r});var i=n(5893),t=n(1151);const l={sidebar_position:4},o="Code Style",c={id:"code-styles",title:"Code Style",description:"Simple Style",source:"@site/versioned_docs/version-0.3.x/code-styles.md",sourceDirName:".",slug:"/code-styles",permalink:"/touying/docs/code-styles",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.3.x/code-styles.md",tags:[],version:"0.3.x",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Sections and Subsections",permalink:"/touying/docs/sections"},next:{title:"Page Layout",permalink:"/touying/docs/layout"}},d={},r=[{value:"Simple Style",id:"simple-style",level:2},{value:"Block Style",id:"block-style",level:2},{value:"Convention Over Configuration",id:"convention-over-configuration",level:2}];function a(e){const s={admonition:"admonition",code:"code",h1:"h1",h2:"h2",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",...(0,t.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.h1,{id:"code-style",children:"Code Style"}),"\n",(0,i.jsx)(s.h2,{id:"simple-style",children:"Simple Style"}),"\n",(0,i.jsxs)(s.p,{children:["If we only need simplicity, we can directly input content under the title, just like writing a normal Typst document. The title here serves to divide the pages, and we can use commands like ",(0,i.jsx)(s.code,{children:"#pause"})," to achieve animation effects."]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsxs)(s.p,{children:["You can use an empty title ",(0,i.jsx)(s.code,{children:"=="})," to create a new page. This technique also helps clear the continuation of the previous title."]}),"\n",(0,i.jsxs)(s.p,{children:["PS: We can use the ",(0,i.jsx)(s.code,{children:"#slides-end"})," marker to signify the end of ",(0,i.jsx)(s.code,{children:"#show: slides"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"block-style",children:"Block Style"}),"\n",(0,i.jsxs)(s.p,{children:["Many times, using simple style alone cannot achieve all the functions we need. For more powerful features and clearer structure, we can also use block style in the form of ",(0,i.jsx)(s.code,{children:"#slide[...]"}),". The ",(0,i.jsx)(s.code,{children:"#slide"})," function needs to be unpacked using the syntax ",(0,i.jsx)(s.code,{children:"#let (slide,) = utils.slides(s)"})," to be used correctly after ",(0,i.jsx)(s.code,{children:"#show: slides"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"For example, the previous example can be transformed into:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\n#slide[\n Hello, Touying!\n\n #pause\n\n Hello, Typst!\n]\n'})}),"\n",(0,i.jsx)(s.p,{children:"There are many advantages to doing this:"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Many times, we not only need the default ",(0,i.jsx)(s.code,{children:"#slide[...]"})," but also special ",(0,i.jsx)(s.code,{children:"slide"})," functions like ",(0,i.jsx)(s.code,{children:"#focus-slide[...]"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Different themes' ",(0,i.jsx)(s.code,{children:"#slide[...]"})," functions may have more parameters than the default, such as the university theme's ",(0,i.jsx)(s.code,{children:"#slide[...]"})," function having a ",(0,i.jsx)(s.code,{children:"subtitle"})," parameter."]}),"\n",(0,i.jsxs)(s.li,{children:["Only ",(0,i.jsx)(s.code,{children:"slide"})," functions can use the callback-style content block to achieve complex animation effects with ",(0,i.jsx)(s.code,{children:"#only"})," and ",(0,i.jsx)(s.code,{children:"#uncover"})," functions."]}),"\n",(0,i.jsxs)(s.li,{children:["It has a clearer structure. By identifying ",(0,i.jsx)(s.code,{children:"#slide[...]"})," blocks, we can easily distinguish the specific pagination effects of slides."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"convention-over-configuration",children:"Convention Over Configuration"}),"\n",(0,i.jsxs)(s.p,{children:["You may have noticed that when using the simple theme, using a level-one title automatically creates a section slide. This is because the simple theme registers an ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-section-slide"})," method, so Touying will automatically call this method."]}),"\n",(0,i.jsx)(s.p,{children:"If we don't want it to automatically create such a section slide, we can delete this method:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#(s.methods.touying-new-section-slide = none)\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/17a89a59-9491-4e1f-95c0-09a22105ab35",alt:"image"})}),"\n",(0,i.jsx)(s.p,{children:"As you can see, there are only two pages left, and the default section slide is gone."}),"\n",(0,i.jsx)(s.p,{children:"Similarly, we can register a new section slide:"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#(s.methods.touying-new-section-slide = (self: none, section, ..args) => {\n self = utils.empty-page(self)\n (s.methods.touying-slide)(self: self, section: section, {\n set align(center + horizon)\n set text(size: 2em, fill: s.colors.primary, style: "italic", weight: "bold")\n section\n }, ..args)\n})\n#let (init, slides, touying-outline) = utils.methods(s)\n#show: init\n\n#let (slide,) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.img,{src:"https://github.com/touying-typ/touying/assets/34951714/5305efda-0cd4-42eb-9f2e-89abc30b6ca2",alt:"image"})}),"\n",(0,i.jsxs)(s.p,{children:["Similarly, we can modify ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-subsection-slide"})," to do the same for ",(0,i.jsx)(s.code,{children:"subsection"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["In fact, besides ",(0,i.jsx)(s.code,{children:"s.methods.touying-new-section-slide"}),", another special ",(0,i.jsx)(s.code,{children:"slide"})," function is the ",(0,i.jsx)(s.code,{children:"s.methods.slide"})," function, which will be called by default in simple style when ",(0,i.jsx)(s.code,{children:"#slide[...]"})," is not explicitly used."]}),"\n",(0,i.jsxs)(s.p,{children:["Also, since ",(0,i.jsx)(s.code,{children:"#slide[...]"})," is registered in ",(0,i.jsx)(s.code,{children:'s.slides = ("slide",)'}),", the ",(0,i.jsx)(s.code,{children:"section"}),", ",(0,i.jsx)(s.code,{children:"subsection"}),", and ",(0,i.jsx)(s.code,{children:"title"})," parameters will be automatically passed, while others like ",(0,i.jsx)(s.code,{children:"#focus-slide[...]"})," will not automatically receive these three parameters."]}),"\n",(0,i.jsxs)(s.admonition,{title:"Principle",type:"tip",children:[(0,i.jsxs)(s.p,{children:["In fact, you can also not use ",(0,i.jsx)(s.code,{children:"#show: slides"})," and ",(0,i.jsx)(s.code,{children:"utils.slides(s)"}),", but only use ",(0,i.jsx)(s.code,{children:"utils.methods(s)"}),", for example:"]}),(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-typst",children:'#import "@preview/touying:0.3.1": *\n\n#let s = themes.simple.register(s)\n#let (init, touying-outline, slide) = utils.methods(s)\n#show: init\n\n#slide(section: [Title], title: [First Slide])[\n Hello, Touying!\n\n #pause\n\n Hello, Typst!\n]\n'})}),(0,i.jsxs)(s.p,{children:["Here, you need to manually pass in ",(0,i.jsx)(s.code,{children:"section"}),", ",(0,i.jsx)(s.code,{children:"subsection"}),", and ",(0,i.jsx)(s.code,{children:"title"}),", but it will have better performance, suitable for cases where faster performance is needed, such as when there are more than dozens or hundreds of pages."]})]})]})}function h(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},1151:(e,s,n)=>{n.d(s,{Z:()=>c,a:()=>o});var i=n(7294);const t={},l=i.createContext(t);function o(e){const s=i.useContext(l);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),i.createElement(l.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.e87f0a3c.js b/assets/js/runtime~main.ef6d6e98.js similarity index 98% rename from assets/js/runtime~main.e87f0a3c.js rename to assets/js/runtime~main.ef6d6e98.js index 8a9c1b4ba..400f1d6f1 100644 --- a/assets/js/runtime~main.e87f0a3c.js +++ b/assets/js/runtime~main.ef6d6e98.js @@ -1 +1 @@ -(()=>{"use strict";var e,c,b,a,f,d={},t={};function r(e){var c=t[e];if(void 0!==c)return c.exports;var b=t[e]={id:e,loaded:!1,exports:{}};return d[e].call(b.exports,b,b.exports,r),b.loaded=!0,b.exports}r.m=d,r.c=t,e=[],r.O=(c,b,a,f)=>{if(!b){var d=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](b[o])))?b.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[b,a,f]},r.n=e=>{var c=e&&e.__esModule?()=>e.default:()=>e;return r.d(c,{a:c}),c},b=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var d={};c=c||[null,b({}),b([]),b(b)];for(var t=2&a&&e;"object"==typeof t&&!~c.indexOf(t);t=b(t))Object.getOwnPropertyNames(t).forEach((c=>d[c]=()=>e[c]));return d.default=()=>e,r.d(f,d),f},r.d=(e,c)=>{for(var b in c)r.o(c,b)&&!r.o(e,b)&&Object.defineProperty(e,b,{enumerable:!0,get:c[b]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((c,b)=>(r.f[b](e,c),c)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",80:"2c0b54ac",196:"d9bab663",417:"080c9bd0",498:"2cc1595c",530:"e5b11173",612:"d287f9e6",997:"5670b452",1049:"b472294c",1053:"c51e9508",1317:"9cec3c93",1543:"98ce8162",1560:"0275f7e4",1581:"f8777534",1626:"a449492b",1860:"67bae27a",2026:"9d0f4357",2143:"5a57e638",2172:"6bd5e75c",2191:"77e3d78c",2289:"51a4d3bf",2403:"d16cbc15",2418:"e9b496d5",2432:"116fbef0",2528:"ae31ff46",2535:"814f3328",2551:"c37d3efc",2701:"d85491b0",2786:"267f059f",2830:"86e5cb88",2865:"82487ba9",2868:"ce57b2d1",3034:"9beb87c2",3085:"1f391b9e",3089:"a6aa9e1f",3135:"7ba330a5",3209:"80a0c88e",3263:"91bd08ce",3280:"4bb9edb3",3389:"4c713790",3608:"9e4087bc",3655:"b1a1bf59",3732:"be07ec36",3942:"14c08683",3969:"5b27bc59",3994:"41abee02",4013:"01a85c17",4195:"c4f5d8e4",4368:"a94703ab",4447:"28a86b5d",4481:"7d3539b2",4599:"a94a4682",4725:"06e0043a",4733:"173c8b24",4770:"bf750d2c",4823:"17588091",4842:"0c7d33f3",4873:"83b73936",4984:"b8fd1f7e",5022:"3b36ca8e",5094:"a3b8b6db",5151:"43e6fa63",5332:"8ded3f77",5598:"65e4cc1e",5609:"5035b6a4",5617:"54ea3d6a",5619:"ecfd88b4",5695:"6d7ce909",5739:"717af290",5832:"926843be",6085:"3d438ec7",6103:"ccc49370",6114:"89f39702",6118:"c9566e8a",6154:"c38df086",6193:"864ebe97",6296:"286c2c64",6403:"ad972684",6526:"41a6ae87",6662:"555ecac1",6679:"a7cd7c6a",6685:"65dfabbc",6721:"38803c52",6864:"cbce90b2",6917:"7f65dfb7",7060:"9f9db465",7190:"ab32da60",7224:"d4a2dc55",7335:"850166d8",7414:"393be207",7545:"2b9fd23c",7701:"df5b4e08",7836:"02f62403",7918:"17896441",8010:"99d50e1d",8084:"34ff0b4c",8088:"293f9c83",8110:"56a68450",8300:"e5a884f4",8338:"f5938888",8341:"730fef4c",8350:"3f2877b5",8518:"a7bd4aaa",8565:"472f8a66",8610:"6875c492",8814:"11b282fc",9090:"4fabf2f1",9139:"09ecdeab",9183:"2d4a7f47",9199:"f7c1e588",9254:"78c3c618",9319:"851c2574",9375:"729d3e1e",9413:"38682d35",9527:"8ac96054",9619:"39430005",9661:"5e95c892",9671:"0e384e19",9705:"396cf6b9",9744:"10eff399",9754:"f3d96861",9817:"14eb3368",9895:"b7a138aa",9916:"f3a7b3b2"}[e]||e)+"."+{53:"58a4862d",80:"2aaad164",196:"1adc00f3",417:"6f37fb17",498:"6faa31d3",530:"8ed12012",612:"0c94460b",997:"8ded12fc",1049:"a5b31864",1053:"6fb30be1",1317:"4c4de52b",1404:"2f578d87",1543:"c491f28a",1560:"5c626199",1581:"85fe0a10",1626:"f9c31bdf",1772:"22d645a1",1860:"de2ad3ed",2026:"bc35b904",2143:"b3565960",2172:"aa97d729",2191:"cc6e21d2",2289:"67d62bc7",2403:"3249807e",2418:"6d0332a4",2432:"afa5eaab",2528:"ffe9e87d",2535:"a329f4f2",2551:"a5207080",2701:"aaa07b4f",2786:"1727bc64",2830:"d9b7cd72",2865:"4f5b83c0",2868:"f674fd38",3034:"ba7548de",3085:"fa8680eb",3089:"d410008f",3135:"cc3b1fc9",3209:"a8b01f6f",3263:"90c0c232",3280:"061043fc",3389:"c217ebc9",3608:"8eec8b12",3655:"a39a742c",3732:"1161864e",3942:"357fda3f",3969:"e72bec1a",3994:"657f3968",4013:"354f3ef2",4195:"b82e09e8",4368:"9ecc2e7c",4447:"d177648d",4481:"09757c5c",4599:"f4cd98e8",4725:"c7037dab",4733:"78e56de2",4770:"1e61f0c5",4823:"1c807df0",4842:"26f21937",4873:"099861e4",4984:"07b84380",5022:"c1ec8f85",5094:"7e9bd8d8",5151:"41006931",5332:"39e635f8",5598:"e076f0aa",5609:"ba29a9c9",5617:"e9dc7a26",5619:"6ecfb1b4",5695:"5080d462",5739:"20cf0c37",5832:"e8be20d9",6085:"664d2788",6103:"d9da7455",6114:"36c015ce",6118:"8502a18b",6154:"f44d573b",6193:"030db828",6296:"f9d01d06",6403:"d2b62593",6526:"2629620e",6662:"5b7af3be",6679:"b0847aa4",6685:"f8050b8c",6721:"01f754dc",6864:"fee407a7",6917:"76df0f6b",7060:"b523bbb0",7190:"d9c0f329",7224:"86b0fccd",7335:"67d41d40",7414:"dbd0b852",7545:"45028282",7701:"4507b7bc",7836:"6c4f1801",7918:"15723699",8010:"2653db7a",8084:"0f669e1e",8088:"a274a7a5",8110:"6be3c25e",8300:"12442be0",8338:"8dd127cf",8341:"fd9a9394",8350:"085aca07",8518:"f93b23a7",8565:"4c2b8ab3",8610:"686aaf2c",8814:"01cc229d",9090:"226e7297",9139:"82cea7bf",9183:"359d3d24",9199:"679e112a",9254:"b5e5000a",9319:"ff9078b6",9375:"01643990",9413:"70dd994c",9527:"7dcae04c",9619:"243853b2",9661:"17c48d1d",9671:"8ef80ab1",9677:"ea822b9e",9705:"f2eba141",9744:"00ff6043",9754:"92143788",9817:"21d38987",9895:"b665d587",9916:"f93f7707"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,c)=>Object.prototype.hasOwnProperty.call(e,c),a={},f="docs:",r.l=(e,c,b,d)=>{if(a[e])a[e].push(c);else{var t,o;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=a[e];if(delete a[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(b))),c)return c(b)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/touying/",r.gca=function(e){return e={17588091:"4823",17896441:"7918",39430005:"9619","935f2afb":"53","2c0b54ac":"80",d9bab663:"196","080c9bd0":"417","2cc1595c":"498",e5b11173:"530",d287f9e6:"612","5670b452":"997",b472294c:"1049",c51e9508:"1053","9cec3c93":"1317","98ce8162":"1543","0275f7e4":"1560",f8777534:"1581",a449492b:"1626","67bae27a":"1860","9d0f4357":"2026","5a57e638":"2143","6bd5e75c":"2172","77e3d78c":"2191","51a4d3bf":"2289",d16cbc15:"2403",e9b496d5:"2418","116fbef0":"2432",ae31ff46:"2528","814f3328":"2535",c37d3efc:"2551",d85491b0:"2701","267f059f":"2786","86e5cb88":"2830","82487ba9":"2865",ce57b2d1:"2868","9beb87c2":"3034","1f391b9e":"3085",a6aa9e1f:"3089","7ba330a5":"3135","80a0c88e":"3209","91bd08ce":"3263","4bb9edb3":"3280","4c713790":"3389","9e4087bc":"3608",b1a1bf59:"3655",be07ec36:"3732","14c08683":"3942","5b27bc59":"3969","41abee02":"3994","01a85c17":"4013",c4f5d8e4:"4195",a94703ab:"4368","28a86b5d":"4447","7d3539b2":"4481",a94a4682:"4599","06e0043a":"4725","173c8b24":"4733",bf750d2c:"4770","0c7d33f3":"4842","83b73936":"4873",b8fd1f7e:"4984","3b36ca8e":"5022",a3b8b6db:"5094","43e6fa63":"5151","8ded3f77":"5332","65e4cc1e":"5598","5035b6a4":"5609","54ea3d6a":"5617",ecfd88b4:"5619","6d7ce909":"5695","717af290":"5739","926843be":"5832","3d438ec7":"6085",ccc49370:"6103","89f39702":"6114",c9566e8a:"6118",c38df086:"6154","864ebe97":"6193","286c2c64":"6296",ad972684:"6403","41a6ae87":"6526","555ecac1":"6662",a7cd7c6a:"6679","65dfabbc":"6685","38803c52":"6721",cbce90b2:"6864","7f65dfb7":"6917","9f9db465":"7060",ab32da60:"7190",d4a2dc55:"7224","850166d8":"7335","393be207":"7414","2b9fd23c":"7545",df5b4e08:"7701","02f62403":"7836","99d50e1d":"8010","34ff0b4c":"8084","293f9c83":"8088","56a68450":"8110",e5a884f4:"8300",f5938888:"8338","730fef4c":"8341","3f2877b5":"8350",a7bd4aaa:"8518","472f8a66":"8565","6875c492":"8610","11b282fc":"8814","4fabf2f1":"9090","09ecdeab":"9139","2d4a7f47":"9183",f7c1e588:"9199","78c3c618":"9254","851c2574":"9319","729d3e1e":"9375","38682d35":"9413","8ac96054":"9527","5e95c892":"9661","0e384e19":"9671","396cf6b9":"9705","10eff399":"9744",f3d96861:"9754","14eb3368":"9817",b7a138aa:"9895",f3a7b3b2:"9916"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(c,b)=>{var a=r.o(e,c)?e[c]:void 0;if(0!==a)if(a)b.push(a[2]);else if(/^(1303|532)$/.test(c))e[c]=0;else{var f=new Promise(((b,f)=>a=e[c]=[b,f]));b.push(a[2]=f);var d=r.p+r.u(c),t=new Error;r.l(d,(b=>{if(r.o(e,c)&&(0!==(a=e[c])&&(e[c]=void 0),a)){var f=b&&("load"===b.type?"missing":b.type),d=b&&b.target&&b.target.src;t.message="Loading chunk "+c+" failed.\n("+f+": "+d+")",t.name="ChunkLoadError",t.type=f,t.request=d,a[1](t)}}),"chunk-"+c,c)}},r.O.j=c=>0===e[c];var c=(c,b)=>{var a,f,d=b[0],t=b[1],o=b[2],n=0;if(d.some((c=>0!==e[c]))){for(a in t)r.o(t,a)&&(r.m[a]=t[a]);if(o)var i=o(r)}for(c&&c(b);n{"use strict";var e,c,b,a,f,d={},t={};function r(e){var c=t[e];if(void 0!==c)return c.exports;var b=t[e]={id:e,loaded:!1,exports:{}};return d[e].call(b.exports,b,b.exports,r),b.loaded=!0,b.exports}r.m=d,r.c=t,e=[],r.O=(c,b,a,f)=>{if(!b){var d=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](b[o])))?b.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[b,a,f]},r.n=e=>{var c=e&&e.__esModule?()=>e.default:()=>e;return r.d(c,{a:c}),c},b=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var d={};c=c||[null,b({}),b([]),b(b)];for(var t=2&a&&e;"object"==typeof t&&!~c.indexOf(t);t=b(t))Object.getOwnPropertyNames(t).forEach((c=>d[c]=()=>e[c]));return d.default=()=>e,r.d(f,d),f},r.d=(e,c)=>{for(var b in c)r.o(c,b)&&!r.o(e,b)&&Object.defineProperty(e,b,{enumerable:!0,get:c[b]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((c,b)=>(r.f[b](e,c),c)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",80:"2c0b54ac",196:"d9bab663",417:"080c9bd0",498:"2cc1595c",530:"e5b11173",612:"d287f9e6",997:"5670b452",1049:"b472294c",1053:"c51e9508",1317:"9cec3c93",1543:"98ce8162",1560:"0275f7e4",1581:"f8777534",1626:"a449492b",1860:"67bae27a",2026:"9d0f4357",2143:"5a57e638",2172:"6bd5e75c",2191:"77e3d78c",2289:"51a4d3bf",2403:"d16cbc15",2418:"e9b496d5",2432:"116fbef0",2528:"ae31ff46",2535:"814f3328",2551:"c37d3efc",2701:"d85491b0",2786:"267f059f",2830:"86e5cb88",2865:"82487ba9",2868:"ce57b2d1",3034:"9beb87c2",3085:"1f391b9e",3089:"a6aa9e1f",3135:"7ba330a5",3209:"80a0c88e",3263:"91bd08ce",3280:"4bb9edb3",3389:"4c713790",3608:"9e4087bc",3655:"b1a1bf59",3732:"be07ec36",3942:"14c08683",3969:"5b27bc59",3994:"41abee02",4013:"01a85c17",4195:"c4f5d8e4",4368:"a94703ab",4447:"28a86b5d",4481:"7d3539b2",4599:"a94a4682",4725:"06e0043a",4733:"173c8b24",4770:"bf750d2c",4823:"17588091",4842:"0c7d33f3",4873:"83b73936",4984:"b8fd1f7e",5022:"3b36ca8e",5094:"a3b8b6db",5151:"43e6fa63",5332:"8ded3f77",5598:"65e4cc1e",5609:"5035b6a4",5617:"54ea3d6a",5619:"ecfd88b4",5695:"6d7ce909",5739:"717af290",5832:"926843be",6085:"3d438ec7",6103:"ccc49370",6114:"89f39702",6118:"c9566e8a",6154:"c38df086",6193:"864ebe97",6296:"286c2c64",6403:"ad972684",6526:"41a6ae87",6662:"555ecac1",6679:"a7cd7c6a",6685:"65dfabbc",6721:"38803c52",6864:"cbce90b2",6917:"7f65dfb7",7060:"9f9db465",7190:"ab32da60",7224:"d4a2dc55",7335:"850166d8",7414:"393be207",7545:"2b9fd23c",7701:"df5b4e08",7836:"02f62403",7918:"17896441",8010:"99d50e1d",8084:"34ff0b4c",8088:"293f9c83",8110:"56a68450",8300:"e5a884f4",8338:"f5938888",8341:"730fef4c",8350:"3f2877b5",8518:"a7bd4aaa",8565:"472f8a66",8610:"6875c492",8814:"11b282fc",9090:"4fabf2f1",9139:"09ecdeab",9183:"2d4a7f47",9199:"f7c1e588",9254:"78c3c618",9319:"851c2574",9375:"729d3e1e",9413:"38682d35",9527:"8ac96054",9619:"39430005",9661:"5e95c892",9671:"0e384e19",9705:"396cf6b9",9744:"10eff399",9754:"f3d96861",9817:"14eb3368",9895:"b7a138aa",9916:"f3a7b3b2"}[e]||e)+"."+{53:"58a4862d",80:"2aaad164",196:"1adc00f3",417:"6f37fb17",498:"6faa31d3",530:"675c602a",612:"0c94460b",997:"8ded12fc",1049:"a5b31864",1053:"6fb30be1",1317:"4c4de52b",1404:"2f578d87",1543:"c491f28a",1560:"5c626199",1581:"85fe0a10",1626:"f9c31bdf",1772:"22d645a1",1860:"de2ad3ed",2026:"bc35b904",2143:"b3565960",2172:"aa97d729",2191:"cc6e21d2",2289:"67d62bc7",2403:"3249807e",2418:"6d0332a4",2432:"afa5eaab",2528:"ffe9e87d",2535:"a329f4f2",2551:"a5207080",2701:"aaa07b4f",2786:"1727bc64",2830:"d9b7cd72",2865:"4f5b83c0",2868:"f674fd38",3034:"ba7548de",3085:"fa8680eb",3089:"d410008f",3135:"cc3b1fc9",3209:"a8b01f6f",3263:"90c0c232",3280:"061043fc",3389:"c217ebc9",3608:"8eec8b12",3655:"a39a742c",3732:"1161864e",3942:"357fda3f",3969:"e72bec1a",3994:"657f3968",4013:"354f3ef2",4195:"b82e09e8",4368:"9ecc2e7c",4447:"d177648d",4481:"09757c5c",4599:"f4cd98e8",4725:"c7037dab",4733:"78e56de2",4770:"1e61f0c5",4823:"1c807df0",4842:"26f21937",4873:"099861e4",4984:"07b84380",5022:"c1ec8f85",5094:"7e9bd8d8",5151:"41006931",5332:"39e635f8",5598:"e076f0aa",5609:"ba29a9c9",5617:"e9dc7a26",5619:"6ecfb1b4",5695:"5080d462",5739:"20cf0c37",5832:"e8be20d9",6085:"664d2788",6103:"d9da7455",6114:"36c015ce",6118:"8502a18b",6154:"f44d573b",6193:"030db828",6296:"f9d01d06",6403:"d2b62593",6526:"2629620e",6662:"5b7af3be",6679:"b0847aa4",6685:"f8050b8c",6721:"01f754dc",6864:"fee407a7",6917:"c76f881a",7060:"b523bbb0",7190:"d9c0f329",7224:"86b0fccd",7335:"67d41d40",7414:"dbd0b852",7545:"45028282",7701:"4507b7bc",7836:"6c4f1801",7918:"15723699",8010:"2653db7a",8084:"0f669e1e",8088:"a274a7a5",8110:"6be3c25e",8300:"12442be0",8338:"8dd127cf",8341:"fd9a9394",8350:"085aca07",8518:"f93b23a7",8565:"4c2b8ab3",8610:"686aaf2c",8814:"01cc229d",9090:"226e7297",9139:"82cea7bf",9183:"359d3d24",9199:"679e112a",9254:"b5e5000a",9319:"ff9078b6",9375:"01643990",9413:"70dd994c",9527:"7dcae04c",9619:"243853b2",9661:"17c48d1d",9671:"8ef80ab1",9677:"ea822b9e",9705:"f2eba141",9744:"00ff6043",9754:"92143788",9817:"21d38987",9895:"b665d587",9916:"f93f7707"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,c)=>Object.prototype.hasOwnProperty.call(e,c),a={},f="docs:",r.l=(e,c,b,d)=>{if(a[e])a[e].push(c);else{var t,o;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=a[e];if(delete a[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(b))),c)return c(b)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/touying/",r.gca=function(e){return e={17588091:"4823",17896441:"7918",39430005:"9619","935f2afb":"53","2c0b54ac":"80",d9bab663:"196","080c9bd0":"417","2cc1595c":"498",e5b11173:"530",d287f9e6:"612","5670b452":"997",b472294c:"1049",c51e9508:"1053","9cec3c93":"1317","98ce8162":"1543","0275f7e4":"1560",f8777534:"1581",a449492b:"1626","67bae27a":"1860","9d0f4357":"2026","5a57e638":"2143","6bd5e75c":"2172","77e3d78c":"2191","51a4d3bf":"2289",d16cbc15:"2403",e9b496d5:"2418","116fbef0":"2432",ae31ff46:"2528","814f3328":"2535",c37d3efc:"2551",d85491b0:"2701","267f059f":"2786","86e5cb88":"2830","82487ba9":"2865",ce57b2d1:"2868","9beb87c2":"3034","1f391b9e":"3085",a6aa9e1f:"3089","7ba330a5":"3135","80a0c88e":"3209","91bd08ce":"3263","4bb9edb3":"3280","4c713790":"3389","9e4087bc":"3608",b1a1bf59:"3655",be07ec36:"3732","14c08683":"3942","5b27bc59":"3969","41abee02":"3994","01a85c17":"4013",c4f5d8e4:"4195",a94703ab:"4368","28a86b5d":"4447","7d3539b2":"4481",a94a4682:"4599","06e0043a":"4725","173c8b24":"4733",bf750d2c:"4770","0c7d33f3":"4842","83b73936":"4873",b8fd1f7e:"4984","3b36ca8e":"5022",a3b8b6db:"5094","43e6fa63":"5151","8ded3f77":"5332","65e4cc1e":"5598","5035b6a4":"5609","54ea3d6a":"5617",ecfd88b4:"5619","6d7ce909":"5695","717af290":"5739","926843be":"5832","3d438ec7":"6085",ccc49370:"6103","89f39702":"6114",c9566e8a:"6118",c38df086:"6154","864ebe97":"6193","286c2c64":"6296",ad972684:"6403","41a6ae87":"6526","555ecac1":"6662",a7cd7c6a:"6679","65dfabbc":"6685","38803c52":"6721",cbce90b2:"6864","7f65dfb7":"6917","9f9db465":"7060",ab32da60:"7190",d4a2dc55:"7224","850166d8":"7335","393be207":"7414","2b9fd23c":"7545",df5b4e08:"7701","02f62403":"7836","99d50e1d":"8010","34ff0b4c":"8084","293f9c83":"8088","56a68450":"8110",e5a884f4:"8300",f5938888:"8338","730fef4c":"8341","3f2877b5":"8350",a7bd4aaa:"8518","472f8a66":"8565","6875c492":"8610","11b282fc":"8814","4fabf2f1":"9090","09ecdeab":"9139","2d4a7f47":"9183",f7c1e588:"9199","78c3c618":"9254","851c2574":"9319","729d3e1e":"9375","38682d35":"9413","8ac96054":"9527","5e95c892":"9661","0e384e19":"9671","396cf6b9":"9705","10eff399":"9744",f3d96861:"9754","14eb3368":"9817",b7a138aa:"9895",f3a7b3b2:"9916"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(c,b)=>{var a=r.o(e,c)?e[c]:void 0;if(0!==a)if(a)b.push(a[2]);else if(/^(1303|532)$/.test(c))e[c]=0;else{var f=new Promise(((b,f)=>a=e[c]=[b,f]));b.push(a[2]=f);var d=r.p+r.u(c),t=new Error;r.l(d,(b=>{if(r.o(e,c)&&(0!==(a=e[c])&&(e[c]=void 0),a)){var f=b&&("load"===b.type?"missing":b.type),d=b&&b.target&&b.target.src;t.message="Loading chunk "+c+" failed.\n("+f+": "+d+")",t.name="ChunkLoadError",t.type=f,t.request=d,a[1](t)}}),"chunk-"+c,c)}},r.O.j=c=>0===e[c];var c=(c,b)=>{var a,f,d=b[0],t=b[1],o=b[2],n=0;if(d.some((c=>0!==e[c]))){for(a in t)r.o(t,a)&&(r.m[a]=t[a]);if(o)var i=o(r)}for(c&&c(b);n Archive | Touying - + diff --git a/blog/index.html b/blog/index.html index 6a303c3f9..e3b428a5d 100644 --- a/blog/index.html +++ b/blog/index.html @@ -5,7 +5,7 @@ Blog | Touying - + diff --git a/blog/tags/development/index.html b/blog/tags/development/index.html index df8ef0d9a..8ade90aa4 100644 --- a/blog/tags/development/index.html +++ b/blog/tags/development/index.html @@ -5,7 +5,7 @@ One post tagged with "development" | Touying - + diff --git a/blog/tags/index.html b/blog/tags/index.html index c978525fb..0be78e48f 100644 --- a/blog/tags/index.html +++ b/blog/tags/index.html @@ -5,7 +5,7 @@ Tags | Touying - + diff --git a/blog/touying-0-2-0/index.html b/blog/touying-0-2-0/index.html index 91dc6fe49..0057694c9 100644 --- a/blog/touying-0-2-0/index.html +++ b/blog/touying-0-2-0/index.html @@ -5,7 +5,7 @@ Touying 0.2.0 | Touying - + diff --git a/docs/0.2.x/build-your-own-theme/index.html b/docs/0.2.x/build-your-own-theme/index.html index d088a6438..25b9b8f0b 100644 --- a/docs/0.2.x/build-your-own-theme/index.html +++ b/docs/0.2.x/build-your-own-theme/index.html @@ -5,7 +5,7 @@ Build Your Own Theme | Touying - + diff --git a/docs/0.2.x/category/dynamic-slides/index.html b/docs/0.2.x/category/dynamic-slides/index.html index b86818e02..da480184c 100644 --- a/docs/0.2.x/category/dynamic-slides/index.html +++ b/docs/0.2.x/category/dynamic-slides/index.html @@ -5,7 +5,7 @@ Dynamic Slides | Touying - + diff --git a/docs/0.2.x/category/external-tools/index.html b/docs/0.2.x/category/external-tools/index.html index 0a54e35f7..e92e3f91f 100644 --- a/docs/0.2.x/category/external-tools/index.html +++ b/docs/0.2.x/category/external-tools/index.html @@ -5,7 +5,7 @@ External Tools | Touying - + diff --git a/docs/0.2.x/category/progress/index.html b/docs/0.2.x/category/progress/index.html index 41bfb0478..546651851 100644 --- a/docs/0.2.x/category/progress/index.html +++ b/docs/0.2.x/category/progress/index.html @@ -5,7 +5,7 @@ Progress | Touying - + diff --git a/docs/0.2.x/category/themes/index.html b/docs/0.2.x/category/themes/index.html index aa3b4d634..37655ce58 100644 --- a/docs/0.2.x/category/themes/index.html +++ b/docs/0.2.x/category/themes/index.html @@ -5,7 +5,7 @@ Themes | Touying - + diff --git a/docs/0.2.x/category/utilities/index.html b/docs/0.2.x/category/utilities/index.html index c0cf9e0b1..72faee852 100644 --- a/docs/0.2.x/category/utilities/index.html +++ b/docs/0.2.x/category/utilities/index.html @@ -5,7 +5,7 @@ Utilities | Touying - + diff --git a/docs/0.2.x/changelog/index.html b/docs/0.2.x/changelog/index.html index 8d4070dc6..4f9e73c4f 100644 --- a/docs/0.2.x/changelog/index.html +++ b/docs/0.2.x/changelog/index.html @@ -5,7 +5,7 @@ Changelog | Touying - + diff --git a/docs/0.2.x/dynamic/complex/index.html b/docs/0.2.x/dynamic/complex/index.html index 427dbd38e..52bf668c2 100644 --- a/docs/0.2.x/dynamic/complex/index.html +++ b/docs/0.2.x/dynamic/complex/index.html @@ -5,7 +5,7 @@ Complex Animations | Touying - + diff --git a/docs/0.2.x/dynamic/cover/index.html b/docs/0.2.x/dynamic/cover/index.html index 9974f67a8..a43405086 100644 --- a/docs/0.2.x/dynamic/cover/index.html +++ b/docs/0.2.x/dynamic/cover/index.html @@ -5,7 +5,7 @@ Cover Function | Touying - + diff --git a/docs/0.2.x/dynamic/equation/index.html b/docs/0.2.x/dynamic/equation/index.html index d820e9e34..72dad7be1 100644 --- a/docs/0.2.x/dynamic/equation/index.html +++ b/docs/0.2.x/dynamic/equation/index.html @@ -5,7 +5,7 @@ Math Equation Animations | Touying - + diff --git a/docs/0.2.x/dynamic/handout/index.html b/docs/0.2.x/dynamic/handout/index.html index 41c881533..4767bef33 100644 --- a/docs/0.2.x/dynamic/handout/index.html +++ b/docs/0.2.x/dynamic/handout/index.html @@ -5,7 +5,7 @@ Handout Mode | Touying - + diff --git a/docs/0.2.x/dynamic/other/index.html b/docs/0.2.x/dynamic/other/index.html index f9214e71a..6531bc016 100644 --- a/docs/0.2.x/dynamic/other/index.html +++ b/docs/0.2.x/dynamic/other/index.html @@ -5,7 +5,7 @@ Other Animations | Touying - + diff --git a/docs/0.2.x/dynamic/simple/index.html b/docs/0.2.x/dynamic/simple/index.html index 2dba613e4..a011adafc 100644 --- a/docs/0.2.x/dynamic/simple/index.html +++ b/docs/0.2.x/dynamic/simple/index.html @@ -5,7 +5,7 @@ Simple Animations | Touying - + diff --git a/docs/0.2.x/external/pdfpc/index.html b/docs/0.2.x/external/pdfpc/index.html index 000a74458..c28b36021 100644 --- a/docs/0.2.x/external/pdfpc/index.html +++ b/docs/0.2.x/external/pdfpc/index.html @@ -5,7 +5,7 @@ Pdfpc | Touying - + diff --git a/docs/0.2.x/external/typst-preview/index.html b/docs/0.2.x/external/typst-preview/index.html index 9cbe72ba3..fbd683864 100644 --- a/docs/0.2.x/external/typst-preview/index.html +++ b/docs/0.2.x/external/typst-preview/index.html @@ -5,7 +5,7 @@ Typst Preview | Touying - + diff --git a/docs/0.2.x/intro/index.html b/docs/0.2.x/intro/index.html index 4874bf7c5..b52286e4c 100644 --- a/docs/0.2.x/intro/index.html +++ b/docs/0.2.x/intro/index.html @@ -5,7 +5,7 @@ Introduction to Touying | Touying - + diff --git a/docs/0.2.x/layout/index.html b/docs/0.2.x/layout/index.html index a0c88bf7f..870d35f66 100644 --- a/docs/0.2.x/layout/index.html +++ b/docs/0.2.x/layout/index.html @@ -5,7 +5,7 @@ Layout Your Contents | Touying - + diff --git a/docs/0.2.x/progress/counters/index.html b/docs/0.2.x/progress/counters/index.html index 4a150403b..50f23f8af 100644 --- a/docs/0.2.x/progress/counters/index.html +++ b/docs/0.2.x/progress/counters/index.html @@ -5,7 +5,7 @@ Touying Counters | Touying - + diff --git a/docs/0.2.x/progress/sections/index.html b/docs/0.2.x/progress/sections/index.html index a90683365..377ffb2d5 100644 --- a/docs/0.2.x/progress/sections/index.html +++ b/docs/0.2.x/progress/sections/index.html @@ -5,7 +5,7 @@ Touying Sections | Touying - + diff --git a/docs/0.2.x/start/index.html b/docs/0.2.x/start/index.html index 44a16954e..e04a209c6 100644 --- a/docs/0.2.x/start/index.html +++ b/docs/0.2.x/start/index.html @@ -5,7 +5,7 @@ Getting Started | Touying - + diff --git a/docs/0.2.x/style/index.html b/docs/0.2.x/style/index.html index e6d83d9d3..565ac4799 100644 --- a/docs/0.2.x/style/index.html +++ b/docs/0.2.x/style/index.html @@ -5,7 +5,7 @@ Code Styles | Touying - + diff --git a/docs/0.2.x/themes/dewdrop/index.html b/docs/0.2.x/themes/dewdrop/index.html index 23e177945..64b126a8d 100644 --- a/docs/0.2.x/themes/dewdrop/index.html +++ b/docs/0.2.x/themes/dewdrop/index.html @@ -5,7 +5,7 @@ Dewdrop Theme | Touying - + diff --git a/docs/0.2.x/themes/metropolis/index.html b/docs/0.2.x/themes/metropolis/index.html index 5a00d5638..f0debcdd1 100644 --- a/docs/0.2.x/themes/metropolis/index.html +++ b/docs/0.2.x/themes/metropolis/index.html @@ -5,7 +5,7 @@ Metropolis Theme | Touying - + diff --git a/docs/0.2.x/themes/simple/index.html b/docs/0.2.x/themes/simple/index.html index 218c16ec8..f890a661d 100644 --- a/docs/0.2.x/themes/simple/index.html +++ b/docs/0.2.x/themes/simple/index.html @@ -5,7 +5,7 @@ Simple Theme | Touying - + diff --git a/docs/0.2.x/themes/university/index.html b/docs/0.2.x/themes/university/index.html index c8835f9d6..cde132c86 100644 --- a/docs/0.2.x/themes/university/index.html +++ b/docs/0.2.x/themes/university/index.html @@ -5,7 +5,7 @@ University Theme | Touying - + diff --git a/docs/0.2.x/utilities/fit-to/index.html b/docs/0.2.x/utilities/fit-to/index.html index 23fe1387d..88ebadbe4 100644 --- a/docs/0.2.x/utilities/fit-to/index.html +++ b/docs/0.2.x/utilities/fit-to/index.html @@ -5,7 +5,7 @@ Fit to Height / Width | Touying - + diff --git a/docs/0.2.x/utilities/oop/index.html b/docs/0.2.x/utilities/oop/index.html index 89a6716f2..eb4c25275 100644 --- a/docs/0.2.x/utilities/oop/index.html +++ b/docs/0.2.x/utilities/oop/index.html @@ -5,7 +5,7 @@ Object-Oriented Programming | Touying - + diff --git a/docs/build-your-own-theme/index.html b/docs/build-your-own-theme/index.html index e82264a0b..7b165fb59 100644 --- a/docs/build-your-own-theme/index.html +++ b/docs/build-your-own-theme/index.html @@ -5,7 +5,7 @@ Creating Your Own Theme | Touying - + diff --git a/docs/category/dynamic-slides/index.html b/docs/category/dynamic-slides/index.html index b54d66d63..4e264d532 100644 --- a/docs/category/dynamic-slides/index.html +++ b/docs/category/dynamic-slides/index.html @@ -5,7 +5,7 @@ Dynamic Slides | Touying - + diff --git a/docs/category/external-tools/index.html b/docs/category/external-tools/index.html index bf074bea2..983f41ed0 100644 --- a/docs/category/external-tools/index.html +++ b/docs/category/external-tools/index.html @@ -5,7 +5,7 @@ External Tools | Touying - + diff --git a/docs/category/package-integration/index.html b/docs/category/package-integration/index.html index 1a7fb0c33..6a763db1b 100644 --- a/docs/category/package-integration/index.html +++ b/docs/category/package-integration/index.html @@ -5,7 +5,7 @@ Package Integration | Touying - + diff --git a/docs/category/progress/index.html b/docs/category/progress/index.html index 3b548530b..40a66f518 100644 --- a/docs/category/progress/index.html +++ b/docs/category/progress/index.html @@ -5,7 +5,7 @@ Progress | Touying - + diff --git a/docs/category/themes/index.html b/docs/category/themes/index.html index 134930b7d..2669d1711 100644 --- a/docs/category/themes/index.html +++ b/docs/category/themes/index.html @@ -5,7 +5,7 @@ Themes | Touying - + diff --git a/docs/category/utilities/index.html b/docs/category/utilities/index.html index 74d55562b..b235f0b3e 100644 --- a/docs/category/utilities/index.html +++ b/docs/category/utilities/index.html @@ -5,7 +5,7 @@ Utilities | Touying - + diff --git a/docs/changelog/index.html b/docs/changelog/index.html index ef1a8dece..ec49bf1bc 100644 --- a/docs/changelog/index.html +++ b/docs/changelog/index.html @@ -5,7 +5,7 @@ Changelog | Touying - + diff --git a/docs/code-styles/index.html b/docs/code-styles/index.html index 81f482fb8..18620382d 100644 --- a/docs/code-styles/index.html +++ b/docs/code-styles/index.html @@ -5,16 +5,16 @@ Code Style | Touying - +
Version: 0.3.x

Code Style

Simple Style​

-

If we only need simplicity, we can directly input content under the title, just like writing a normal Typst document. The title here serves to divide the pages, and we can use commands like #pause to achieve animation effects.

+

If we only need simplicity, we can directly input content under the heading, just like writing a normal Typst document. The heading here serves to divide the pages, and we can use commands like #pause to achieve animation effects.

#import "@preview/touying:0.3.1": *

#let s = themes.simple.register(s)
#let (init, slides) = utils.methods(s)
#show: init

#let (slide,) = utils.slides(s)
#show: slides

= Title

== First Slide

Hello, Touying!

#pause

Hello, Typst!

image

-

You can use an empty title == to create a new page. This technique also helps clear the continuation of the previous title.

+

You can use an empty heading == to create a new page. This skill also helps clear the continuation of the previous title.

PS: We can use the #slides-end marker to signify the end of #show: slides.

Block Style​

Many times, using simple style alone cannot achieve all the functions we need. For more powerful features and clearer structure, we can also use block style in the form of #slide[...]. The #slide function needs to be unpacked using the syntax #let (slide,) = utils.slides(s) to be used correctly after #show: slides.

@@ -28,7 +28,7 @@

Block StyleIt has a clearer structure. By identifying #slide[...] blocks, we can easily distinguish the specific pagination effects of slides.

Convention Over Configuration​

-

You may have noticed that when using the simple theme, using a level-one title automatically creates a section slide. This is because the simple theme registers an s.methods.touying-new-section-slide method, so Touying will automatically call this method.

+

You may have noticed that when using the simple theme, using a level-one heading automatically creates a new section slide. This is because the simple theme registers an s.methods.touying-new-section-slide method, so Touying will automatically call this method.

If we don't want it to automatically create such a section slide, we can delete this method:

#import "@preview/touying:0.3.1": *

#let s = themes.simple.register(s)
#(s.methods.touying-new-section-slide = none)
#let (init, slides) = utils.methods(s)
#show: init

#let (slide,) = utils.slides(s)
#show: slides

= Title

== First Slide

Hello, Touying!

#pause

Hello, Typst!

image

diff --git a/docs/dynamic/complex/index.html b/docs/dynamic/complex/index.html index f77eb5b99..07980bf1e 100644 --- a/docs/dynamic/complex/index.html +++ b/docs/dynamic/complex/index.html @@ -5,7 +5,7 @@ Complex Animations | Touying - + diff --git a/docs/dynamic/cover/index.html b/docs/dynamic/cover/index.html index 82f8122ba..0c243c74c 100644 --- a/docs/dynamic/cover/index.html +++ b/docs/dynamic/cover/index.html @@ -5,7 +5,7 @@ Cover Function | Touying - + diff --git a/docs/dynamic/equation/index.html b/docs/dynamic/equation/index.html index 02b125dd8..812fc946d 100644 --- a/docs/dynamic/equation/index.html +++ b/docs/dynamic/equation/index.html @@ -5,7 +5,7 @@ Math Equation Animations | Touying - + diff --git a/docs/dynamic/handout/index.html b/docs/dynamic/handout/index.html index 2aecf1635..766c56b63 100644 --- a/docs/dynamic/handout/index.html +++ b/docs/dynamic/handout/index.html @@ -5,7 +5,7 @@ Handout Mode | Touying - + diff --git a/docs/dynamic/other/index.html b/docs/dynamic/other/index.html index 5c894d05c..439eadffb 100644 --- a/docs/dynamic/other/index.html +++ b/docs/dynamic/other/index.html @@ -5,7 +5,7 @@ Other Animations | Touying - + diff --git a/docs/dynamic/simple/index.html b/docs/dynamic/simple/index.html index 5ba9ea77a..9df6fade8 100644 --- a/docs/dynamic/simple/index.html +++ b/docs/dynamic/simple/index.html @@ -5,7 +5,7 @@ Simple Animations | Touying - + diff --git a/docs/external/pdfpc/index.html b/docs/external/pdfpc/index.html index 65b962f30..2dd828e79 100644 --- a/docs/external/pdfpc/index.html +++ b/docs/external/pdfpc/index.html @@ -5,7 +5,7 @@ Pdfpc | Touying - + diff --git a/docs/external/typst-preview/index.html b/docs/external/typst-preview/index.html index 8e67c50ef..4e3e02547 100644 --- a/docs/external/typst-preview/index.html +++ b/docs/external/typst-preview/index.html @@ -5,7 +5,7 @@ Typst Preview | Touying - + diff --git a/docs/global-settings/index.html b/docs/global-settings/index.html index 34757be65..e7a09cc04 100644 --- a/docs/global-settings/index.html +++ b/docs/global-settings/index.html @@ -5,7 +5,7 @@ Global Settings | Touying - + diff --git a/docs/integration/cetz/index.html b/docs/integration/cetz/index.html index 638e7eec4..6344222d0 100644 --- a/docs/integration/cetz/index.html +++ b/docs/integration/cetz/index.html @@ -5,7 +5,7 @@ CeTZ | Touying - + diff --git a/docs/integration/codly/index.html b/docs/integration/codly/index.html index 436bb1c44..0e3c0b91b 100644 --- a/docs/integration/codly/index.html +++ b/docs/integration/codly/index.html @@ -5,7 +5,7 @@ Codly | Touying - + diff --git a/docs/integration/fletcher/index.html b/docs/integration/fletcher/index.html index a1696be67..1d17996f0 100644 --- a/docs/integration/fletcher/index.html +++ b/docs/integration/fletcher/index.html @@ -5,7 +5,7 @@ Fletcher | Touying - + diff --git a/docs/integration/pinit/index.html b/docs/integration/pinit/index.html index eae9e1d05..0653fb7af 100644 --- a/docs/integration/pinit/index.html +++ b/docs/integration/pinit/index.html @@ -5,7 +5,7 @@ Pinit | Touying - + diff --git a/docs/integration/polylux/index.html b/docs/integration/polylux/index.html index a1c6e1200..28a4cf8a7 100644 --- a/docs/integration/polylux/index.html +++ b/docs/integration/polylux/index.html @@ -5,7 +5,7 @@ Polylux | Touying - + diff --git a/docs/intro/index.html b/docs/intro/index.html index 5165d96e2..514df67bd 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -5,7 +5,7 @@ Introduction to Touying | Touying - + diff --git a/docs/layout/index.html b/docs/layout/index.html index 2ed9098e1..0019d6525 100644 --- a/docs/layout/index.html +++ b/docs/layout/index.html @@ -5,7 +5,7 @@ Page Layout | Touying - + diff --git a/docs/next/build-your-own-theme/index.html b/docs/next/build-your-own-theme/index.html index 53860b0f5..16a5d833f 100644 --- a/docs/next/build-your-own-theme/index.html +++ b/docs/next/build-your-own-theme/index.html @@ -5,7 +5,7 @@ Creating Your Own Theme | Touying - + diff --git a/docs/next/category/dynamic-slides/index.html b/docs/next/category/dynamic-slides/index.html index ee2cb21c5..ded1b286a 100644 --- a/docs/next/category/dynamic-slides/index.html +++ b/docs/next/category/dynamic-slides/index.html @@ -5,7 +5,7 @@ Dynamic Slides | Touying - + diff --git a/docs/next/category/external-tools/index.html b/docs/next/category/external-tools/index.html index d603b6e1e..66d8dc5e7 100644 --- a/docs/next/category/external-tools/index.html +++ b/docs/next/category/external-tools/index.html @@ -5,7 +5,7 @@ External Tools | Touying - + diff --git a/docs/next/category/package-integration/index.html b/docs/next/category/package-integration/index.html index bc4e9e365..ee732cb92 100644 --- a/docs/next/category/package-integration/index.html +++ b/docs/next/category/package-integration/index.html @@ -5,7 +5,7 @@ Package Integration | Touying - + diff --git a/docs/next/category/progress/index.html b/docs/next/category/progress/index.html index 305692a7e..e4a9edc1a 100644 --- a/docs/next/category/progress/index.html +++ b/docs/next/category/progress/index.html @@ -5,7 +5,7 @@ Progress | Touying - + diff --git a/docs/next/category/themes/index.html b/docs/next/category/themes/index.html index f29dffc15..6338bbc6d 100644 --- a/docs/next/category/themes/index.html +++ b/docs/next/category/themes/index.html @@ -5,7 +5,7 @@ Themes | Touying - + diff --git a/docs/next/category/utilities/index.html b/docs/next/category/utilities/index.html index c458c491a..ac1d0f856 100644 --- a/docs/next/category/utilities/index.html +++ b/docs/next/category/utilities/index.html @@ -5,7 +5,7 @@ Utilities | Touying - + diff --git a/docs/next/changelog/index.html b/docs/next/changelog/index.html index 435698b9a..940754c9e 100644 --- a/docs/next/changelog/index.html +++ b/docs/next/changelog/index.html @@ -5,7 +5,7 @@ Changelog | Touying - + diff --git a/docs/next/code-styles/index.html b/docs/next/code-styles/index.html index bd834a240..c9f240f96 100644 --- a/docs/next/code-styles/index.html +++ b/docs/next/code-styles/index.html @@ -5,16 +5,16 @@ Code Style | Touying - +
Version: Next

Code Style

Simple Style​

-

If we only need simplicity, we can directly input content under the title, just like writing a normal Typst document. The title here serves to divide the pages, and we can use commands like #pause to achieve animation effects.

+

If we only need simplicity, we can directly input content under the heading, just like writing a normal Typst document. The heading here serves to divide the pages, and we can use commands like #pause to achieve animation effects.

#import "@preview/touying:0.3.1": *

#let s = themes.simple.register(s)
#let (init, slides) = utils.methods(s)
#show: init

#let (slide,) = utils.slides(s)
#show: slides

= Title

== First Slide

Hello, Touying!

#pause

Hello, Typst!

image

-

You can use an empty title == to create a new page. This technique also helps clear the continuation of the previous title.

+

You can use an empty heading == to create a new page. This skill also helps clear the continuation of the previous title.

PS: We can use the #slides-end marker to signify the end of #show: slides.

Block Style​

Many times, using simple style alone cannot achieve all the functions we need. For more powerful features and clearer structure, we can also use block style in the form of #slide[...]. The #slide function needs to be unpacked using the syntax #let (slide,) = utils.slides(s) to be used correctly after #show: slides.

@@ -28,7 +28,7 @@

Block StyleIt has a clearer structure. By identifying #slide[...] blocks, we can easily distinguish the specific pagination effects of slides.

Convention Over Configuration​

-

You may have noticed that when using the simple theme, using a level-one title automatically creates a section slide. This is because the simple theme registers an s.methods.touying-new-section-slide method, so Touying will automatically call this method.

+

You may have noticed that when using the simple theme, using a level-one heading automatically creates a new section slide. This is because the simple theme registers an s.methods.touying-new-section-slide method, so Touying will automatically call this method.

If we don't want it to automatically create such a section slide, we can delete this method:

#import "@preview/touying:0.3.1": *

#let s = themes.simple.register(s)
#(s.methods.touying-new-section-slide = none)
#let (init, slides) = utils.methods(s)
#show: init

#let (slide,) = utils.slides(s)
#show: slides

= Title

== First Slide

Hello, Touying!

#pause

Hello, Typst!

image

diff --git a/docs/next/dynamic/complex/index.html b/docs/next/dynamic/complex/index.html index 596252274..ae374b286 100644 --- a/docs/next/dynamic/complex/index.html +++ b/docs/next/dynamic/complex/index.html @@ -5,7 +5,7 @@ Complex Animations | Touying - + diff --git a/docs/next/dynamic/cover/index.html b/docs/next/dynamic/cover/index.html index b41dd0100..80bb5cfb1 100644 --- a/docs/next/dynamic/cover/index.html +++ b/docs/next/dynamic/cover/index.html @@ -5,7 +5,7 @@ Cover Function | Touying - + diff --git a/docs/next/dynamic/equation/index.html b/docs/next/dynamic/equation/index.html index 633c90765..c18b2faf2 100644 --- a/docs/next/dynamic/equation/index.html +++ b/docs/next/dynamic/equation/index.html @@ -5,7 +5,7 @@ Math Equation Animations | Touying - + diff --git a/docs/next/dynamic/handout/index.html b/docs/next/dynamic/handout/index.html index 8bd28f670..2d2824736 100644 --- a/docs/next/dynamic/handout/index.html +++ b/docs/next/dynamic/handout/index.html @@ -5,7 +5,7 @@ Handout Mode | Touying - + diff --git a/docs/next/dynamic/other/index.html b/docs/next/dynamic/other/index.html index 3da8b69cc..e997a5730 100644 --- a/docs/next/dynamic/other/index.html +++ b/docs/next/dynamic/other/index.html @@ -5,7 +5,7 @@ Other Animations | Touying - + diff --git a/docs/next/dynamic/simple/index.html b/docs/next/dynamic/simple/index.html index 0d1990187..386c59bcd 100644 --- a/docs/next/dynamic/simple/index.html +++ b/docs/next/dynamic/simple/index.html @@ -5,7 +5,7 @@ Simple Animations | Touying - + diff --git a/docs/next/external/pdfpc/index.html b/docs/next/external/pdfpc/index.html index ec0e3b6f4..96b33c2cd 100644 --- a/docs/next/external/pdfpc/index.html +++ b/docs/next/external/pdfpc/index.html @@ -5,7 +5,7 @@ Pdfpc | Touying - + diff --git a/docs/next/external/typst-preview/index.html b/docs/next/external/typst-preview/index.html index 00011256c..9f6e6a300 100644 --- a/docs/next/external/typst-preview/index.html +++ b/docs/next/external/typst-preview/index.html @@ -5,7 +5,7 @@ Typst Preview | Touying - + diff --git a/docs/next/global-settings/index.html b/docs/next/global-settings/index.html index 200b5f6f1..59d00476f 100644 --- a/docs/next/global-settings/index.html +++ b/docs/next/global-settings/index.html @@ -5,7 +5,7 @@ Global Settings | Touying - + diff --git a/docs/next/integration/cetz/index.html b/docs/next/integration/cetz/index.html index 67e365b51..1de0ac246 100644 --- a/docs/next/integration/cetz/index.html +++ b/docs/next/integration/cetz/index.html @@ -5,7 +5,7 @@ CeTZ | Touying - + diff --git a/docs/next/integration/codly/index.html b/docs/next/integration/codly/index.html index ea6f7be39..d0aa80237 100644 --- a/docs/next/integration/codly/index.html +++ b/docs/next/integration/codly/index.html @@ -5,7 +5,7 @@ Codly | Touying - + diff --git a/docs/next/integration/fletcher/index.html b/docs/next/integration/fletcher/index.html index a7f46e3b6..23a96be8b 100644 --- a/docs/next/integration/fletcher/index.html +++ b/docs/next/integration/fletcher/index.html @@ -5,7 +5,7 @@ Fletcher | Touying - + diff --git a/docs/next/integration/pinit/index.html b/docs/next/integration/pinit/index.html index b36ca987b..4b9cf609e 100644 --- a/docs/next/integration/pinit/index.html +++ b/docs/next/integration/pinit/index.html @@ -5,7 +5,7 @@ Pinit | Touying - + diff --git a/docs/next/integration/polylux/index.html b/docs/next/integration/polylux/index.html index d6014e896..bb2ba98a6 100644 --- a/docs/next/integration/polylux/index.html +++ b/docs/next/integration/polylux/index.html @@ -5,7 +5,7 @@ Polylux | Touying - + diff --git a/docs/next/intro/index.html b/docs/next/intro/index.html index 465c57b1c..f9482c773 100644 --- a/docs/next/intro/index.html +++ b/docs/next/intro/index.html @@ -5,7 +5,7 @@ Introduction to Touying | Touying - + diff --git a/docs/next/layout/index.html b/docs/next/layout/index.html index 2a9d0c8d9..16e061945 100644 --- a/docs/next/layout/index.html +++ b/docs/next/layout/index.html @@ -5,7 +5,7 @@ Page Layout | Touying - + diff --git a/docs/next/progress/counters/index.html b/docs/next/progress/counters/index.html index 3d54aa8c6..0af603d5e 100644 --- a/docs/next/progress/counters/index.html +++ b/docs/next/progress/counters/index.html @@ -5,7 +5,7 @@ Touying Counters | Touying - + diff --git a/docs/next/progress/sections/index.html b/docs/next/progress/sections/index.html index 2ea0d6834..53bf30398 100644 --- a/docs/next/progress/sections/index.html +++ b/docs/next/progress/sections/index.html @@ -5,7 +5,7 @@ Touying Sections | Touying - + diff --git a/docs/next/sections/index.html b/docs/next/sections/index.html index ac4e2ad7b..1a12a19f2 100644 --- a/docs/next/sections/index.html +++ b/docs/next/sections/index.html @@ -5,7 +5,7 @@ Sections and Subsections | Touying - + diff --git a/docs/next/start/index.html b/docs/next/start/index.html index 700616a1a..38e389c0f 100644 --- a/docs/next/start/index.html +++ b/docs/next/start/index.html @@ -5,7 +5,7 @@ Getting Started | Touying - + diff --git a/docs/next/themes/dewdrop/index.html b/docs/next/themes/dewdrop/index.html index 2fb3857e4..8090b3721 100644 --- a/docs/next/themes/dewdrop/index.html +++ b/docs/next/themes/dewdrop/index.html @@ -5,7 +5,7 @@ Dewdrop Theme | Touying - + diff --git a/docs/next/themes/metropolis/index.html b/docs/next/themes/metropolis/index.html index 3f3b3a751..fcc79835a 100644 --- a/docs/next/themes/metropolis/index.html +++ b/docs/next/themes/metropolis/index.html @@ -5,7 +5,7 @@ Metropolis Theme | Touying - + diff --git a/docs/next/themes/simple/index.html b/docs/next/themes/simple/index.html index 0d7704f24..a98513bcc 100644 --- a/docs/next/themes/simple/index.html +++ b/docs/next/themes/simple/index.html @@ -5,7 +5,7 @@ Simple Theme | Touying - + diff --git a/docs/next/themes/university/index.html b/docs/next/themes/university/index.html index 0105cc113..c1fa4969b 100644 --- a/docs/next/themes/university/index.html +++ b/docs/next/themes/university/index.html @@ -5,7 +5,7 @@ University Theme | Touying - + diff --git a/docs/next/utilities/fit-to/index.html b/docs/next/utilities/fit-to/index.html index 9ba0a46d1..65cfd2731 100644 --- a/docs/next/utilities/fit-to/index.html +++ b/docs/next/utilities/fit-to/index.html @@ -5,7 +5,7 @@ Fit to Height / Width | Touying - + diff --git a/docs/next/utilities/oop/index.html b/docs/next/utilities/oop/index.html index 2499ca4e1..b5b6954f0 100644 --- a/docs/next/utilities/oop/index.html +++ b/docs/next/utilities/oop/index.html @@ -5,7 +5,7 @@ Object-Oriented Programming | Touying - + diff --git a/docs/progress/counters/index.html b/docs/progress/counters/index.html index 7707d8eeb..3f2c2f667 100644 --- a/docs/progress/counters/index.html +++ b/docs/progress/counters/index.html @@ -5,7 +5,7 @@ Touying Counters | Touying - + diff --git a/docs/progress/sections/index.html b/docs/progress/sections/index.html index 536b178c8..eb7389d40 100644 --- a/docs/progress/sections/index.html +++ b/docs/progress/sections/index.html @@ -5,7 +5,7 @@ Touying Sections | Touying - + diff --git a/docs/sections/index.html b/docs/sections/index.html index f87f312e1..320d8fddc 100644 --- a/docs/sections/index.html +++ b/docs/sections/index.html @@ -5,7 +5,7 @@ Sections and Subsections | Touying - + diff --git a/docs/start/index.html b/docs/start/index.html index d71e8aab4..a935614bf 100644 --- a/docs/start/index.html +++ b/docs/start/index.html @@ -5,7 +5,7 @@ Getting Started | Touying - + diff --git a/docs/themes/dewdrop/index.html b/docs/themes/dewdrop/index.html index 1c35226de..8bf183152 100644 --- a/docs/themes/dewdrop/index.html +++ b/docs/themes/dewdrop/index.html @@ -5,7 +5,7 @@ Dewdrop Theme | Touying - + diff --git a/docs/themes/metropolis/index.html b/docs/themes/metropolis/index.html index d38b97694..b2e5fcdc3 100644 --- a/docs/themes/metropolis/index.html +++ b/docs/themes/metropolis/index.html @@ -5,7 +5,7 @@ Metropolis Theme | Touying - + diff --git a/docs/themes/simple/index.html b/docs/themes/simple/index.html index bdf548edf..e2b6b44fe 100644 --- a/docs/themes/simple/index.html +++ b/docs/themes/simple/index.html @@ -5,7 +5,7 @@ Simple Theme | Touying - + diff --git a/docs/themes/university/index.html b/docs/themes/university/index.html index 62f0ec162..163297ce9 100644 --- a/docs/themes/university/index.html +++ b/docs/themes/university/index.html @@ -5,7 +5,7 @@ University Theme | Touying - + diff --git a/docs/utilities/fit-to/index.html b/docs/utilities/fit-to/index.html index f2cd44061..12568273c 100644 --- a/docs/utilities/fit-to/index.html +++ b/docs/utilities/fit-to/index.html @@ -5,7 +5,7 @@ Fit to Height / Width | Touying - + diff --git a/docs/utilities/oop/index.html b/docs/utilities/oop/index.html index f43a16c55..76a83a8d0 100644 --- a/docs/utilities/oop/index.html +++ b/docs/utilities/oop/index.html @@ -5,7 +5,7 @@ Object-Oriented Programming | Touying - + diff --git a/index.html b/index.html index 96312559f..298b06da5 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Touying in Typst | Touying - + diff --git a/markdown-page/index.html b/markdown-page/index.html index c45fee40f..fe6d28d89 100644 --- a/markdown-page/index.html +++ b/markdown-page/index.html @@ -5,7 +5,7 @@ Markdown page example | Touying - +