PageSourceSearch

https://touying-typ.github.io/assets/js/6bbcc4ae.8eabea5d.js

js touying-typ.github.io collected 2026-10-03 10:08:14 UTC 3,783 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5927],{29994:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>d});var s=t(85893),i=t(11151);const o={sidebar_position:6,description:"Focus on some content.",toc_max_heading_level:2},r="focus-slide",c={id:"reference/themes/stargazer/focus-slide",title:"focus-slide",description:"Focus on some content.",source:"@site/docs/reference/themes/stargazer/focus-slide.mdx",sourceDirName:"reference/themes/stargazer",slug:"/reference/themes/stargazer/focus-slide",permalink:"/docs/reference/themes/stargazer/focus-slide",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6,description:"Focus on some content.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"new-section-slide",permalink:"/docs/reference/themes/stargazer/new-section-slide"},next:{title:"ending-slide",permalink:"/docs/reference/themes/stargazer/ending-slide"}},a={},d=[{value:"config : <TypeLink></TypeLink> <Default><code>(:)</code></Default>",id:"config",level:3},{value:"align : <TypeLink></TypeLink> <Default><code>horizon + center</code></Default>",id:"align",level:3}];function l(e){const n={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",...(0,i.a)(),...e.components},{Default:t,Param:o,Parameters:r,Signature:c,SignatureName:a,SignatureParam:d,SourceLink:l,TypeLink:u}=n;return t||h("Default",!0),o||h("Param",!0),r||h("Parameters",!0),c||h("Signature",!0),a||h("SignatureName",!0),d||h("SignatureParam",!0),l||h("SourceLink",!0),u||h("TypeLink",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"focus-slide",children:"focus-slide"}),"\n",(0,s.jsx)(c,{children:(0,s.jsxs)("code",{children:[(0,s.jsx)(a,{children:"focus-slide"}),"(",(0,s.jsxs)(d,{children:[(0,s.jsx)(n.a,{href:"#config",children:"config: (:)"}),", "]}),(0,s.jsxs)(d,{children:[(0,s.jsx)(n.a,{href:"#align",children:"align: horizon + center"}),", "]}),(0,s.jsx)(d,{children:(0,s.jsx)(n.a,{href:"#body",children:"body"})}),")",(0,s.jsx)(l,{href:"https://github.com/touying-typ/touying/blob/main/themes/stargazer.typ#L300"})]})}),"\n",(0,s.jsx)(n.p,{children:"Focus on some content."}),"\n",(0,s.jsxs)(n.p,{children:["Example: ",(0,s.jsx)(n.code,{children:"#focus-slide[Wake up!]"})]}),"\n",(0,s.jsxs)(r,{children:[(0,s.jsxs)(n.h3,{id:"config",children:["config : ",(0,s.jsx)(u,{type:"dictionary"})," ",(0,s.jsx)(t,{children:(0,s.jsx)(n.code,{children:"(:)"})})]}),(0,s.jsx)(o,{children:(0,s.jsxs)(n.p,{children:["is the configuration of the slide. You can use ",(0,s.jsx)(n.code,{children:"config-xxx"})," to set the configuration of the slide. For more several configurations, you can use ",(0,s.jsx)(n.code,{children:"utils.merge-dicts"})," to merge them."]})}),(0,s.jsxs)(n.h3,{id:"align",children:["align : ",(0,s.jsx)(u,{type:"alignment"})," ",(0,s.jsx)(t,{children:(0,s.jsx)(n.code,{children:"horizon + center"})})]}),(0,s.jsx)(o,{children:(0,s.jsxs)(n.p,{children:["is the alignment of the content. The default is ",(0,s.jsx)(n.code,{children:"horizon + center"}),"."]})})]})]})}function u(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}function h(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>r});var s=t(67294);const i={},o=s.createContext(i);function r(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.