PageSourceSearch

https://touying-typ.github.io/assets/js/f279ec64.6de9a02b.js

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

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[842],{97870:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>o,contentTitle:()=>s,default:()=>m,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var n=t(85893),r=t(11151);const a={sidebar_position:1,description:"Apply as a show rule to vertically align list markers with the baseline of the first line of each list item.",toc_max_heading_level:2},s="align-list-marker-with-baseline",l={id:"reference/magic/align-list-marker-with-baseline",title:"align-list-marker-with-baseline",description:"Apply as a show rule to vertically align list markers with the baseline of the first line of each list item.",source:"@site/docs/reference/magic/align-list-marker-with-baseline.mdx",sourceDirName:"reference/magic",slug:"/reference/magic/align-list-marker-with-baseline",permalink:"/docs/reference/magic/align-list-marker-with-baseline",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"Apply as a show rule to vertically align list markers with the baseline of the first line of each list item.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"Magic",permalink:"/docs/category/magic"},next:{title:"align-enum-marker-with-baseline",permalink:"/docs/reference/magic/align-enum-marker-with-baseline"}},o={},c=[];function h(e){const i={a:"a",code:"code",h1:"h1",p:"p",strong:"strong",...(0,r.a)(),...e.components},{Signature:t,SignatureName:a,SignatureParam:s,SourceLink:l,TypeLink:o}=i;return t||d("Signature",!0),a||d("SignatureName",!0),s||d("SignatureParam",!0),l||d("SourceLink",!0),o||d("TypeLink",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h1,{id:"align-list-marker-with-baseline",children:"align-list-marker-with-baseline"}),"\n",(0,n.jsx)(t,{children:(0,n.jsxs)("code",{children:[(0,n.jsx)(a,{children:"align-list-marker-with-baseline"}),"(",(0,n.jsx)(s,{children:(0,n.jsx)(i.a,{href:"#body",children:"body"})}),")",(0,n.jsx)(l,{href:"https://github.com/touying-typ/touying/blob/main/src/magic.typ#L11"})]})}),"\n",(0,n.jsx)(i.p,{children:"Apply as a show rule to vertically align list markers with the baseline of the first line of each list item. This prevents markers from appearing too high when list items have tall content."}),"\n",(0,n.jsxs)(i.p,{children:["Usage: ",(0,n.jsx)(i.code,{children:"#show: align-list-marker-with-baseline"})]}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.strong,{children:"Returns:"})," ",(0,n.jsx)(o,{type:"content"})]})]})}function m(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}function d(e,i){throw new Error("Expected "+(i?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,i,t)=>{t.d(i,{Z:()=>l,a:()=>s});var n=t(67294);const r={},a=n.createContext(r);function s(e){const i=n.useContext(a);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function l(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(a.Provider,{value:i},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.