PageSourceSearch

https://touying-typ.github.io/assets/js/709dfadd.a07570e6.js

js touying-typ.github.io collected 2026-10-03 10:05:57 UTC 3,200 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[346],{85614:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>i,metadata:()=>s,toc:()=>m});var t=n(85893),o=n(11151);const i={sidebar_position:14,description:"LaTeX-like knob marker for list items.",toc_max_heading_level:2},a="knob-marker",s={id:"reference/components/knob-marker",title:"knob-marker",description:"LaTeX-like knob marker for list items.",source:"@site/docs/reference/components/knob-marker.mdx",sourceDirName:"reference/components",slug:"/reference/components/knob-marker",permalink:"/docs/reference/components/knob-marker",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:14,frontMatter:{sidebar_position:14,description:"LaTeX-like knob marker for list items.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"simple-navigation",permalink:"/docs/reference/components/simple-navigation"},next:{title:"page-container",permalink:"/docs/reference/components/page-container"}},c={},m=[{value:"primary : <TypeLink></TypeLink> <Default><code>rgb(&quot;#005bac&quot;)</code></Default>",id:"primary",level:3}];function l(e){const r={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",strong:"strong",...(0,o.a)(),...e.components},{Default:n,Param:i,Parameters:a,Signature:s,SignatureName:c,SignatureParam:m,SourceLink:l,TypeLink:p}=r;return n||d("Default",!0),i||d("Param",!0),a||d("Parameters",!0),s||d("Signature",!0),c||d("SignatureName",!0),m||d("SignatureParam",!0),l||d("SourceLink",!0),p||d("TypeLink",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"knob-marker",children:"knob-marker"}),"\n",(0,t.jsx)(s,{children:(0,t.jsxs)("code",{children:[(0,t.jsx)(c,{children:"knob-marker"}),"(",(0,t.jsx)(m,{children:(0,t.jsx)(r.a,{href:"#primary",children:'primary: rgb("#005bac")'})}),")",(0,t.jsx)(l,{href:"https://github.com/touying-typ/touying/blob/main/src/components.typ#L1007"})]})}),"\n",(0,t.jsx)(r.p,{children:"LaTeX-like knob marker for list items."}),"\n",(0,t.jsxs)(r.p,{children:["Example: ",(0,t.jsx)(r.code,{children:'#set list(marker: components.knob-marker(primary: rgb("005bac")))'})]}),"\n",(0,t.jsxs)(a,{children:[(0,t.jsxs)(r.h3,{id:"primary",children:["primary : ",(0,t.jsx)(p,{type:"color"})," ",(0,t.jsx)(n,{children:(0,t.jsx)(r.code,{children:'rgb("#005bac")'})})]}),(0,t.jsx)(i,{children:(0,t.jsx)(r.p,{children:"The color of the marker."})})]}),"\n",(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.strong,{children:"Returns:"})," ",(0,t.jsx)(p,{type:"content"})]})]})}function p(e={}){const{wrapper:r}={...(0,o.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}function d(e,r){throw new Error("Expected "+(r?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,r,n)=>{n.d(r,{Z:()=>s,a:()=>a});var t=n(67294);const o={},i=t.createContext(o);function a(e){const r=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function s(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),t.createElement(i.Provider,{value:r},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.