1.2.3 • Published 10 months ago

judou v1.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

句读(JuDou)

一个简单的类古籍排版工具。

它提供以下功能: 1. 标点符号转换,生成句读 2. 阿拉伯数字转中文 3. 生成类古籍的排版效果

image-20230804225550319

Install

$ npm install judou

Usage

<script setup>
  import JuDou from 'judou';
  import 'judou/style.css'
  import { ref } from 'vue'
  
  const text = ref("")
  </script>
  
<template>
  <div>
    <input type="text" v-model="text">
    <JuDou :text="text" :fontSize="72" />
  </div>
</template>

Attributes

参数说明类型默认值
text文字内容String逝者如斯夫,不舍昼夜。
fontSize字体大小Number36
width背景宽度Number450
height背景高度Number800
backgroundColor背景颜色String#e7ddcb
1.2.3

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

0.0.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago