Path: blob/main/src/resources/editor/tools/attrs.yml
12922 views
# dashboardDiv12- group: aDashboardDiv3contexts: [div]4formats: [dashboard]5completions:6- value: ".card"7doc: Markdown content with its own card8- value: ".valuebox"9doc: Prominently display a value1011- group: aDashboardCard12contexts: [div]13formats: [dashboard]14filter: "\\.card"15completions:16- value: 'title="$0"'17doc: Title for markdown content card18- value: 'padding="$0"'19doc: Padding around card20- value: 'expandable="true"'21doc: Make card contents expandable22- value: 'expandable="false"'23doc: Do not make card contents expandable24- value: 'width="$0"'25doc: Width (% or absolute pixels)26- value: 'height="$0"'27doc: Height (% or absolute pixels)2829- group: aDashboardValueBox30contexts: [div]31formats: [dashboard]32filter: "\\.valuebox"33completions:34- value: 'icon="$0"'35doc: Bootstrap icon for value box36- value: 'color="$0"'37- value: 'color="primary"'38- value: 'color="secondary"'39- value: 'color="success"'40- value: 'color="info"'41- value: 'color="warning"'42- value: 'color="danger"'43- value: 'color="light"'44- value: 'color="dark"'4546- group: aDashboardSidebar47contexts: [heading]48formats: [dashboard]49filter: "^##? "50completions:51- value: ".sidebar"52doc: Layout contents in a sidebar5354- group: aDashboardPage55contexts: [heading]56formats: [dashboard]57filter: "^# "58completions:59- value: 'orientation="rows"'60doc: Orient layout by rows61- value: 'orientation="columns"'62doc: Orient layout by columns6364- group: aDashboardHeading65contexts: [heading]66formats: [dashboard]67filter: "^#{2,} "68completions:69- value: ".fill"70doc: Contents should fill available layout space71- value: ".flow"72doc: Contents should flow to their natural size73- value: ".tabset"74doc: Arrange contents into tabs75- value: 'width="$0"'76doc: Width (% or absolute pixels)77- value: 'height="$0"'78doc: Height (% or absolute pixels)7980## callouts8182- group: "callout"83contexts: [div]84completions:85- value: .callout86doc: "Simple callout with no color, icon, or header"87- value: .callout-note88doc: "Include additional explanation or context."89- value: .callout-tip90doc: "Provide a productivity tip or other helpful guidance. "91- value: .callout-important92doc: "Emphasize content that readers should be sure to read."93- value: .callout-caution94doc: "Advise the reader to act carefully (i.e., exercise care)."95- value: .callout-warning96doc: "Inform the reader of danger, harm, or consequences that exist."9798- group: "calloutAttribs"99contexts: [div]100filter: "\\.callout"101completions:102- value: 'title="$0"'103doc: "Title displayed in callout header"104- value: 'icon="true"'105doc: Include an icon in the callout.106- value: 'icon="false"'107doc: Do not include an icon in the callout.108- value: 'appearance="default"'109doc: The default appearance with colored header and an icon.110- value: 'appearance="simple"'111doc: "A lighter weight appearance that doesn’t include a colored header background."112- value: 'appearance="minimal"'113doc: |114A minimal treatment that applies borders to the callout, but doesn’t include115a header background color or icon.116- value: 'collapse="true"'117doc: Make the callout collapsable (initially collapsed).118- value: 'collapse="false"'119doc: Make the callout collapsable (initially expanded).120121## content-visibile122123- group: "content"124contexts: [div]125completions:126- value: '.content-visible when-format="$0"'127doc: "Make content visible for a given format."128- value: '.content-visible unless-format="$0"'129doc: "Make content visible except for a given format."130- value: '.content-hidden when-format="$0"'131doc: "Make content hidden for a given format."132- value: '.content-hidden unless-format="$0"'133doc: "Make content hidden except for a given format."134- value: '.content-visible when-profile="$0"'135doc: "Make content visible for a given profile."136- value: '.content-visible unless-profile="$0"'137doc: "Make content visible except for a given profile."138- value: '.content-hidden when-profile="$0"'139doc: "Make content hidden for a given profile."140- value: '.content-hidden unless-profile"$0"'141doc: "Make content hidden except for a given profile."142143- group: "contentAttribs"144contexts: [div]145completions:146- value: 'when-format="$0"'147doc: "Show or hide content when format matches"148- value: 'unless-format="$0"'149doc: "Show or hide content unless format matches"150- value: 'when-profile="$0"'151doc: "Show or hide content when profile matches"152- value: 'unless-profile="$0"'153doc: "Show or hide content unless profile matches"154155## columns156157- group: "columns"158contexts: [div, figure]159completions:160- value: ".column-margin"161doc: Position content in the right margin162- value: ".column-body"163doc: Default column for article content164- value: ".column-body-outset"165doc: Extend content slightly outside the bounds of the body166- value: ".column-body-outset-left"167doc: Extend content slightly outside the left side of the body168- value: ".column-body-outset-right"169doc: Extend content slightly outside the right side of the body170- value: ".column-page"171doc: Extend content to a wider region172- value: ".column-page-left"173doc: Extend content on the left to a wider region174- value: ".column-page-right"175doc: Extend content on the right to a wider region176- value: ".column-page-inset"177doc: Extend content to a wider region (with a small margin)178- value: ".column-page-inset-left"179doc: Extend content on the left to a wider region (with a small margin)180- value: ".column-page-inset-right"181doc: Extend content on the right to a wider region (with a small margin)182- value: ".column-screen-inset"183doc: Extend content to full width (with a small margin)184- value: ".column-screen-inset-shaded"185doc: Extend content to full width (with a small margin and shading)186- value: ".column-screen-inset-left"187doc: Extend content fully to the left (with a small margin)188- value: ".column-screen-inset-right"189doc: Extend content fully to the right (with a small margin)190- value: ".column-screen"191doc: Extend content to full width192- value: ".column-screen-left"193doc: Extend content fully to the left194- value: ".column-screen-right"195doc: Extend content fully to the right196197## panels198199- group: "panels"200contexts: [div]201completions:202- value: .panel-tabset203doc: Panel containing a set of tabs204- value: .panel-sidebar205doc: Panel that appears to the side of the main content206- value: .panel-fill207doc: Panel that fills the region not taken by the sidebar208- value: .panel-center209doc: Panel that centers content in the region not taken by the sidebar210- value: .panel-input211doc: Panel for horizontal layout of input controls212213## theorem214215- group: "theorem"216contexts: [div]217completions:218- value: 'name="$0"'219- value: .proof220doc: Proof environment221- value: .remark222doc: Remark environment223- value: .solution224doc: Solution environment225226## layout227228- group: "layout"229contexts: [div]230completions:231- value: 'layout="$0"'232doc: Custom layout specification for content233- value: 'layout-ncol="$0"'234doc: Layout output blocks into columns235- value: 'layout-nrow="$0"'236doc: Layout output blocks into rows237- value: 'layout-align="default"'238doc: Use default horizontal alignment239- value: 'layout-align="left"'240doc: Use left horizontal alignment241- value: 'layout-align="center"'242doc: Use center horizontal alignment243- value: 'layout-align="right"'244doc: Use right horizontal alignment245- value: 'layout-valign="default"'246doc: Use default vertical alignment247- value: 'layout-valign="top"'248doc: Use top vertical alignment249- value: 'layout-valign="center"'250doc: Use center vertical alignment251- value: 'layout-valign="bottom"'252doc: Use bottom vertical alignment253254## style255256- group: div-style257contexts: [div]258completions:259- value: 'style="$0"'260doc: CSS style attributes261262## figure263264- group: figure265contexts: [figure]266completions:267- value: 'fig-alt="$0"'268doc: Alternative text for figure269- value: 'fig-align="default"'270doc: Default figure alignment271- value: 'fig-align="left"'272doc: Left figure alignment273- value: 'fig-align="center"'274doc: Center figure alignment275- value: 'fig-align="right"'276doc: Right figure alignment277- value: 'fig-env="$0"'278doc: LaTeX environment for figure279- value: 'fig-pos="$0"'280doc: |281LaTeX figure position arrangement to be used in `\\begin{figure}[]`282- value: 'fig-scap="$0"'283doc: LaTeX short caption284- value: 'style="$0"'285doc: CSS style attributes286- value: 'width="$0"'287- value: 'height="$0"'288289## heading290291- group: heading292contexts: [heading]293completions:294- value: .unnumbered295doc: Do not apply numbering to heading296- value: .unlisted297doc: Do not include heading in table of contents298299## codeblock300301- group: codeblock302contexts: [codeblock]303completions:304- value: 'code-fold="true"'305doc: |306Fold code into an HTML `<details>` tag so the user can display it on-demand307- value: 'code-fold="show"'308doc: Show code and allow it to be optionally folded out of view309- value: 'code-fold="false"'310doc: Do not fold this code block311- value: 'code-summary="$0"'312doc: Summary text for folded code (defaults to 'Code')313- value: 'code-line-numbers="true"'314doc: Show line numbers for code block315- value: 'code-line-numbers="false"'316doc: Do not show line numbers for code block317- value: 'shortcodes="false"'318doc: Do not process shortcodes in this code block319320## hidden321322- group: hidden323contexts: [div, heading, figure, codeblock]324completions:325- value: .hidden326doc: Hide content from view327328# revealDiv329330- group: revealDiv331contexts: [div]332formats: [revealjs]333completions:334- value: .incremental335doc: Display bullet list incrementally336- value: .nonincremental337doc: Display bullets list all at once338- value: .columns339doc: Split content into multiple columns340- value: .column341doc: Provide column for `.columns` div342- value: .notes343doc: Slide speaker notes344- value: .footer345doc: Slide footer text346- value: .r-fit-text347doc: Fit div contents to available space348349- group: revealFigure350contexts: [figure]351formats: [revealjs]352completions:353- value: .r-stretch354doc: Stretch figure to fill available space on slide355356- group: revealContent357contexts: [div, figure]358formats: [revealjs]359completions:360- value: .absolute361doc: Absolutely position content362- value: 'top="$0"'363doc: Position relative to top of slide364- value: 'left="$0"'365doc: Position relative to left of slide366- value: 'bottom="$0"'367doc: Position relative to bottom of slide368- value: 'right="$0"'369doc: Position relative to right of slide370371- group: revealFragment372contexts: [figure, div]373formats: [revealjs]374completions:375- value: .fragment376doc: Incrementally reveal content377- value: .fade-up378doc: Slide up while fading in379- value: .fade-down380doc: Slide down while fading in381- value: .fade-left382doc: Slide left while fading in383- value: .fade-right384doc: Slide right while fading in385- value: .fade-in-then-out386doc: Fades in, then out on the next step387- value: .fade-in-then-semi-out388doc: Fades in, then to 50% on the next step389- value: .grow390doc: Scale up391- value: .semi-fade-out392doc: Fade out to 50%393- value: .shrink394doc: Scale down395- value: .strike396doc: Strike through397- value: .highlight-red398doc: Turn text red399- value: .highlight-green400doc: Turn text green401- value: .highlight-blue402doc: Turn text blue403- value: .highlight-current-red404doc: Turn text red, then back to original on next step405- value: .highlight-current-green406doc: Turn text green, then back to original on next step407- value: .highlight-current-blue408doc: Turn text blue, then back to original on next step409410- group: revealHeading411contexts: [heading]412formats: [revealjs]413completions:414- value: .smaller415doc: Use a smaller text side for slide416- value: .scrollable417doc: Make slide contents scrollable418- value: .nostretch419doc: Do not automatically stretch images on this slide420- value: 'autoslide="$0"'421doc: Autoslide duration for slide (in milliseconds)422- value: 'background-color="$0"'423doc: Slide background color424- value: 'background-image="$0"'425doc: URL of the image to show. GIFs restart when the slide opens.426- value: 'background-size="$0"'427doc: |428Background size (see [background-size](https://developer.mozilla.org/docs/Web/CSS/background-size) on MDN).429Defaults to `cover`.430- value: 'background-position="$0"'431doc: |432Background position (see [background-position](https://developer.mozilla.org/docs/Web/CSS/background-position) on MDN).433Defaults to `center`.434- value: 'background-repeat="$0"'435doc: |436Background repeat (see [background-repeat](https://developer.mozilla.org/docs/Web/CSS/background-repeat) on MDN).437Defaults to `no-repeat`.438- value: 'background-opacity="$0"'439doc: |440Opacity of the background image on a 0-1 scale. 0 is transparent and 1 is fully opaque.441Defaults to 1.442- value: 'background-video="$0"'443doc: A single video source, or a comma separated list of video sources.444- value: 'background-video-loop="$0"'445doc: Flags if the video should play repeatedly. Defaults to `false`.446- value: 'background-video-muted="$0"'447doc: Flags if the audio should be muted. Defaults to `false`.448- value: 'background-iframe="$0"'449doc: URL of the iframe to load450- value: 'background-transition="$0"'451doc: |452Transition style for full page slide backgrounds (`none`, `fade`, `slide`, `convex`, `concave`, or `zoom`).453- value: background-interactive454doc:455Include this attribute to make it possible to interact with the iframe contents.456Enabling this will prevent interaction with the slide content.457458- group: revealTransition459contexts: [heading]460formats: [revealjs]461completions:462- value: 'transition="none"'463doc: No transition (switch instantly)464- value: 'transition="fade"'465doc: Cross fade466- value: 'transition="slide"'467doc: Slide horizontally468- value: 'transition="convex"'469doc: Slide at a convex angle470- value: 'transition="concave"'471doc: Slide at a concave angle472- value: 'transition="zoom"'473doc: Scale the incoming slide so it grows in from the center of the screen474- value: 'transition-speed="default"'475doc: Use default transition speed476- value: 'transition-speed="fast"'477doc: Use a faster transition speed478- value: 'transition-speed="slow"'479doc: Use a slower transition speed480- value: 'visibility="hidden"'481doc: Hide a slide482- value: 'visibility="uncounted"'483doc: |484Show the slide but don't have it count towards the total slides485(useful for appendix slides)486487- group: revealAutoAnimateSlide488contexts: [heading]489formats: [revealjs]490completions:491- value: 'auto-animate="true"'492doc: Automatically animate elements across this slide and adjacent slide(s).493- value: 'auto-animate-easing="$0"'494doc: A CSS [easing](https://developer.mozilla.org/en-US/docs/Web/CSS/easing-function) function. Defaults to `ease`.495- value: 'auto-animate-unmatched="$0"'496doc: |497Determines whether elements with no matching auto-animate target should fade in.498Defaults to `true`. Set to `false` to make them appear instantly.499- value: 'auto-animate-duration="$0"'500doc: |501Animation duration in seconds (defaults to 1.0)502- value: 'auto-animate-id="$0"'503doc: An id tying auto-animate slides together504- value: auto-animate-restart505doc: Breaks apart two adjacent auto-animate slides (even with the same id)506507- group: revealAutoAnimateElement508contexts: [div, figure]509formats: [revealjs]510completions:511- value: 'data-id="$0"'512doc: |513Provide objects that you want to animate between a matching data-id attribute514(useful in situations where automatic matching is not feasible)515- value: 'auto-animate-delay="$0"'516doc: Animation delay in seconds (defaults to 0)517518519