Skip to content

Instantly share code, notes, and snippets.

<template>
<span
:class="$style.actionicon"
:style="{ backgroundImage, width, height, borderRadius: radius + 'px' }"
@mouseover="onMouseover"
@click="onClick"
>
<span :class="$style.highlight" />
</span>
</template>
<template>
<div :class="$style.wrapper" v-bind="$attrs">
<div :class="$style.container">
<slot />
</div>
</div>
</template>
<style module>
.wrapper {
box-sizing: border-box;
@noonworks
noonworks / vscode_md_numbered_headers.css
Created July 15, 2020 05:35
VSCodeのmarkdownプレビューで見出しに`1-2-2. 見出し`のように番号をつけるスタイルシート
h1 {
counter-reset: section_h2;
}
h2 {
counter-reset: section_h3;
}
h3 {
counter-reset: section_h4;
}
h4 {