Skip to content

Commit

Permalink
💄 icon of mirana and meepo
Browse files Browse the repository at this point in the history
  • Loading branch information
trydofor committed Jul 29, 2024
1 parent 136e54a commit 56b9094
Show file tree
Hide file tree
Showing 20 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion src/a-mirana/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: toolbox
icon: cat
index: false
category:
- Radiant
Expand Down
2 changes: 1 addition & 1 deletion src/a-mirana/a1.mirana.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: toolbox
icon: cat
category:
- Mirana
- Utility
Expand Down
2 changes: 1 addition & 1 deletion src/a-mirana/a2.utilities.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: toolbox
icon: cat
category:
- Mirana
- Utility
Expand Down
2 changes: 1 addition & 1 deletion src/b-meepo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: dog
index: false
category:
- Meepo
Expand Down
2 changes: 1 addition & 1 deletion src/b-meepo/b1.meepo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: dog
category:
- Meepo
- Template
Expand Down
2 changes: 1 addition & 1 deletion src/b-meepo/b2.example.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: dog
category:
- Meepo
- Template
Expand Down
2 changes: 1 addition & 1 deletion src/b-meepo/b3.syntax.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: ruler
category:
- Meepo
- Template
Expand Down
2 changes: 1 addition & 1 deletion src/b-meepo/b4.engine.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: flask
category:
- Meepo
- Template
Expand Down
26 changes: 13 additions & 13 deletions src/b-meepo/b5.function.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: folder-tree
category:
- Meepo
- Template
Expand Down Expand Up @@ -33,7 +33,7 @@ Focuse on Date and time, mainly value and format.

### 1a.Current Data/Time `now`

Usage: String:javaEval, output the current date/time in specified format
Usage: String:javaEval, output the current date/time in specified format
Syntax: fun:now ptn?

* obj - if `java.util.Date` or `TemporalAccessor`, then formatted,
Expand All @@ -56,8 +56,8 @@ Focuse on Number, mainly Long and BigDecimal

### 2a.Modulo and Remainder `mod`

Usage: String:javaEval, Take MOD(obj, args.length) as index(0-based) to get the index element in args
Syntax: fun:mod obj arg...
Usage: String:javaEval, Take MOD(obj, args.length) as index(0-based) to get the index element in args
Syntax: fun:mod obj arg...
Return: using mod as index, get element in args, then get value from context

* obj - can convert to Number.intValue, take the remainder of arg.length
Expand All @@ -75,8 +75,8 @@ Return: using mod as index, get element in args, then get value from context

### 2b.Absolute Value `abs`

Usage: String:javaEval, Take the absolute value of the number
Syntax: fun:abs obj
Usage: String:javaEval, Take the absolute value of the number
Syntax: fun:abs obj
Return: Absolute value in Long or BigDecimal type

* obj - can convert to Number, return Long or BigDecimal
Expand All @@ -94,8 +94,8 @@ Formatting object as string

### 3a.printf

Usage: String:javaEval, use String.printf to format object
Syntax: fun:fmt obj ptn
Usage: String:javaEval, use String.printf to format object
Syntax: fun:fmt obj ptn
Return: String in specified pattern

* obj - any object
Expand All @@ -113,8 +113,8 @@ Focuse on String

### 4a.Naming Style

Usage: String:javaEval, Naming style conversion for obj
Syntax: fun:### obj arg?, ### is the following function and aliase
Usage: String:javaEval, Naming style conversion for obj
Syntax: fun:### obj arg?, ### is the following function and aliase
Return: String in specified style

* upperCase - All uppercase, support locale
Expand All @@ -133,7 +133,7 @@ Parameter Description,
* arg - in upperCase or lowerCase, is locale format
* arg - in dotCase,snakeCase,kebabCase, is lower,upper,keep
* others function without arg, no customizable case

```text
# author = try&DO&for
{{ author | upperCase zh-cn }} #output TRY&DO&FOR
Expand All @@ -156,8 +156,8 @@ Simple conditional output control.

### 5a.Output visible `see`

Usage: String:javaEval, output the first visiable value in arg
Syntax: fun:see obj arg...
Usage: String:javaEval, output the first visiable value in arg
Syntax: fun:see obj arg...
Return: The first non-null or non-empty string in arg or obj itself

* obj - any object
Expand Down
2 changes: 1 addition & 1 deletion src/b-meepo/b6.question.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: circle-question
category:
- Meepo
- Template
Expand Down
2 changes: 1 addition & 1 deletion src/zh/a-mirana/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: toolbox
icon: cat
index: false
category:
- 天辉
Expand Down
2 changes: 1 addition & 1 deletion src/zh/a-mirana/a1.mirana.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: toolbox
icon: cat
category:
- 米拉
- 工具
Expand Down
2 changes: 1 addition & 1 deletion src/zh/a-mirana/a2.utilities.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: toolbox
icon: cat
category:
- 米拉
- 工具
Expand Down
2 changes: 1 addition & 1 deletion src/zh/b-meepo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: dog
index: false
category:
- 米波
Expand Down
2 changes: 1 addition & 1 deletion src/zh/b-meepo/b1.meepo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: dog
category:
- 米波
- 模板
Expand Down
2 changes: 1 addition & 1 deletion src/zh/b-meepo/b2.example.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: dog
category:
- 米波
- 模板
Expand Down
2 changes: 1 addition & 1 deletion src/zh/b-meepo/b3.syntax.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: ruler
category:
- 米波
- 模板
Expand Down
2 changes: 1 addition & 1 deletion src/zh/b-meepo/b4.engine.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: flask
category:
- 米波
- 模板
Expand Down
16 changes: 8 additions & 8 deletions src/zh/b-meepo/b5.function.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
isOriginal: true
icon: palette
icon: folder-tree
category:
- 米波
- 模板
---

# B5.函数列表

函数的用法,详情参看【字典引擎引擎 map】的管道约定和函数规则。
函数的用法,详情参看【字典引擎引擎 map】的管道约定和函数规则。
函数全名和别名均以`fun:`为前缀。在不冲突时,管道符内前缀可省略。

在示例说明中,描述函数时,存在以下约定,
Expand All @@ -30,7 +30,7 @@ category:

### 1a.当前日时 now

类型用途:String:javaEval,输出指定格式的当前日期时间
类型用途:String:javaEval,输出指定格式的当前日期时间
用法说明:fun:now ptn?

* obj - 若是`java.util.Date``TemporalAccessor`,则格式化
Expand All @@ -53,7 +53,7 @@ category:

### 2a.取余 mod

类型用途:String:javaEval,以MOD(obj, args.length)作为索引(0-based),获得args中索引的值
类型用途:String:javaEval,以MOD(obj, args.length)作为索引(0-based),获得args中索引的值
用法说明:fun:mod obj arg...
返回类型:以取模值为key获取context的值或key字符串

Expand Down Expand Up @@ -91,7 +91,7 @@ category:

### 3a.全格式printf

类型用途:String:javaEval,调用String.printf格式化对象
类型用途:String:javaEval,调用String.printf格式化对象
用法说明:fun:fmt obj ptn
返回类型:字符串

Expand All @@ -110,7 +110,7 @@ category:

### 4a.风格变换

类型用途:String:javaEval,对obj进行命名风格转换
类型用途:String:javaEval,对obj进行命名风格转换
用法说明:fun:### obj arg?,其中 ### 为以下函数名和别名
返回类型:字符串

Expand All @@ -130,7 +130,7 @@ category:
* arg - 在upperCase,lowerCase中,为locale格式
* arg - 在dotCase,snakeCase,kebabCase中,为lower,upper,keep
* 其余函数无arg,不支持定制大小写

```text
# author = try&DO&for
{{ author | upperCase zh-cn }} #输出 TRY&DO&FOR
Expand All @@ -153,7 +153,7 @@ category:

### 5a.输出可见 see

类型用途:String:javaEval,args输出第一个可见的值
类型用途:String:javaEval,args输出第一个可见的值
用法说明:fun:see obj arg...
返回类型:obj或arg中第一个非null或非空字符串空的值。

Expand Down
2 changes: 1 addition & 1 deletion src/zh/b-meepo/b6.question.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
isOriginal: true
icon: palette
icon: circle-question
category:
- 米波
- 模板
Expand Down

0 comments on commit 56b9094

Please sign in to comment.