摊牌了!想做表情管理大师?

用法教程

用MarkDown也可以添加好玩的表情,用法:对应单词描述:

  • 欢迎来访我的个人博客Mosey
    ⚠️⚠️⚠️如果看到你的hexo博客的表情不生效那么就要卸载hexo-renderer-marked插件依赖后,再安装新的hexo-renderer-markdown-itmarkdown-it-emoji插件,然后再在站点配置文件末尾添加以下代码
# Markdown-it config
markdown:
  render:
    html: true
    xhtmlOut: false
    breaks: true
    linkify: true
    typographer: true
    quotes: '“”‘’'
  plugins:
    - markdown-it-abbr
    - markdown-it-footnote
    - markdown-it-ins
    - markdown-it-sub
    - markdown-it-sup
    - markdown-it-emoji  # add emoji
  anchors:
    level: 2
    collisionSuffix: 'v'
    permalink: true
    permalinkClass: header-anchor
    permalinkSymbol:

表情效果展示

  • 数字系列:1️⃣ 2️⃣ 3️⃣ 4️⃣
  • 水果系列:🍎 🍐 🍉 🍊 🍌 🍋 🍑 🍓 🍇 🍍 🍒
  • 动物系列:🐶 🐱 🐷 🐯 🐻 🐦 🦁 🦌 🐒 🐺 🐴 🐮 🐭 🐟 🐛 🕷
  • 植物系列:🌹 🌿 🍄 🍅 🥔 🥕
  • 球类:🏈 🏀 ⚾️
  • 其它系列:🚲 👨 👩 ❤️ 😢 🔥 👦 👧 🐷 📱 ☎️ 🚗 ⛵️ 📖 📓 💻 👪 🏫 🏥 🔔 ⚠️ 🖊

对照单词如下

  • 实力不允许我写出更多的单词😢

数字系列:“one” “two” “three” “four”

水果系列:“apple” “pear” “watermelon” “orange” “banana” “lemon” “peach” “strawberry” “grapes” “pineapple” “cherries”

动物系列:“dog” “cat” “pig” “tiger” “bear” “bird” “lion” “deer” “monkey” “wolf” “horse” “cow” “mouse” “fish” “bug” “spider”

植物系列:“rose” “herb” “mushroom” “tomato” “potato” “carrot”

球类:“football” “basketball” “baseball”

其它系列:“bike” “man” “woman” “heart” “cry” “fire” “boy” “girl” “pig” “iphone” “phone” “car” “boat” “book” “notebook” “computer” “family” “school” “hospital” “bell” “warning” “pen”

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Spring Cloud Alibaba Nacos 是一个服务注册中心和配置中心,可以实现服务的注册与发现、配置的动态管理等功能,同时还提供了容灾和高可用的支持。下面简单介绍如何使用 Nacos 实现 Spring Cloud 的配置容灾。 首先,在应用的 `pom.xml` 文件中添加如下依赖: ```xml <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> <version>2.2.3.RELEASE</version> </dependency> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> <version>2.2.3.RELEASE</version> </dependency> ``` 然后在 `application.properties` 中配置 Nacos 的地址和应用的名称: ```properties spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 spring.cloud.nacos.discovery.namespace=your-namespace spring.cloud.nacos.config.server-addr=127.0.0.1:8848 spring.cloud.nacos.config.namespace=your-namespace spring.cloud.nacos.config.file-extension=properties spring.application.name=your-application-name ``` 其中 `server-addr` 是 Nacos 的地址,`namespace` 是命名空间,`file-extension` 是配置文件的扩展名,`application.name` 是应用的名称。 接着在 `bootstrap.properties` 中配置应用的环境和配置来源: ```properties spring.profiles.active=dev spring.cloud.nacos.config.prefix=${spring.application.name}-${spring.profiles.active} spring.cloud.nacos.config.group=DEFAULT_GROUP spring.cloud.nacos.config.shared-dataids=${spring.application.name}-${spring.profiles.active}.properties ``` 其中 `spring.profiles.active` 是应用的环境,`prefix` 是配置文件的前缀,`group` 是配置文件所在的分组,`shared-dataids` 是配置文件的名称。 最后,在代码中使用 `@Value` 注解来获取配置项的值: ```java @RestController public class ConfigController { @Value("${config.key}") private String configValue; @GetMapping("/config") public String getConfig() { return configValue; } } ``` 其中 `config.key` 是配置项的名称。 以上就是使用 Nacos 实现 Spring Cloud 的配置容灾的简单示例。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值