PageSourceSearch

https://touying-typ.github.io/assets/js/62216be2.09a2bc37.js

js touying-typ.github.io collected 2026-10-03 10:07:17 UTC 3,244 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3229],{46158:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>a});var t=o(85893),s=o(11151);const r={sidebar_position:5,description:"Focus on some content.",toc_max_heading_level:2},i="focus-slide",c={id:"reference/themes/dewdrop/focus-slide",title:"focus-slide",description:"Focus on some content.",source:"@site/docs/reference/themes/dewdrop/focus-slide.mdx",sourceDirName:"reference/themes/dewdrop",slug:"/reference/themes/dewdrop/focus-slide",permalink:"/docs/reference/themes/dewdrop/focus-slide",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5,description:"Focus on some content.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"new-section-slide",permalink:"/docs/reference/themes/dewdrop/new-section-slide"},next:{title:"dewdrop-theme",permalink:"/docs/reference/themes/dewdrop/dewdrop-theme"}},d={},a=[{value:"config : <TypeLink></TypeLink> <Default><code>(:)</code></Default>",id:"config",level:3}];function l(e){const n={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",...(0,s.a)(),...e.components},{Default:o,Param:r,Parameters:i,Signature:c,SignatureName:d,SignatureParam:a,SourceLink:l,TypeLink:u}=n;return o||f("Default",!0),r||f("Param",!0),i||f("Parameters",!0),c||f("Signature",!0),d||f("SignatureName",!0),a||f("SignatureParam",!0),l||f("SourceLink",!0),u||f("TypeLink",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"focus-slide",children:"focus-slide"}),"\n",(0,t.jsx)(c,{children:(0,t.jsxs)("code",{children:[(0,t.jsx)(d,{children:"focus-slide"}),"(",(0,t.jsxs)(a,{children:[(0,t.jsx)(n.a,{href:"#config",children:"config: (:)"}),", "]}),(0,t.jsx)(a,{children:(0,t.jsx)(n.a,{href:"#body",children:"body"})}),")",(0,t.jsx)(l,{href:"https://github.com/touying-typ/touying/blob/main/themes/dewdrop.typ#L287"})]})}),"\n",(0,t.jsx)(n.p,{children:"Focus on some content."}),"\n",(0,t.jsxs)(n.p,{children:["Example: ",(0,t.jsx)(n.code,{children:"#focus-slide[Wake up!]"})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsxs)(n.h3,{id:"config",children:["config : ",(0,t.jsx)(u,{type:"dictionary"})," ",(0,t.jsx)(o,{children:(0,t.jsx)(n.code,{children:"(:)"})})]}),(0,t.jsx)(r,{children:(0,t.jsxs)(n.p,{children:["The configuration of the slide. You can use ",(0,t.jsx)(n.code,{children:"config-xxx"})," to set the configuration of the slide. For more several configurations, you can use ",(0,t.jsx)(n.code,{children:"utils.merge-dicts"})," to merge them."]})})]})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}function f(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,o)=>{o.d(n,{Z:()=>c,a:()=>i});var t=o(67294);const s={},r=t.createContext(s);function i(e){const n=t.useContext(r);return t.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(s):e.components||s:i(e.components),t.createElement(r.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.