banner
NEWS LETTER

Code Snippet

Scroll down
config.ymlview raw
# logo
favicon:
visibilitychange: true

top_bars:
- title: menu.home
url: /
- title: menu.archives
url: /archives/
- title: menu.links
url: /links/
- title: menu.about
url: /about/
- title: 自定义
url: /customize_page/

banner:
index:
bgurl: [/img/bg.jpg,/img/banner.png]

sidebar:
typedTextPrefix: I`m
typedText: [ 'Web Developer' ]
info:
- key: 文档地址
val: <a href="https://hexo-theme-async.imalun.com/" target="_blank" rel="nofollow">查看</a>
- key: 备用地址
val: <a href="https://async-docs.imalun.com/" target="_blank" rel="nofollow">查看</a>
- key: 提交示例站点
val: <a href="https://hexo-theme-async.imalun.com/demo/" target="_blank" rel="nofollow">查看</a>

social:
- icon: fab fa-github
url: https://github.com/MaLuns/Hexo-theme-async
name: Github
- icon: fab fa-npm
url: https://www.npmjs.com/package/hexo-theme-async
name: Npm

footer:
powered:
enable: true
beian:
enable: false
icp:
copyrightYear: 2022
live_time:
enable: true
prefix: footer.tips
start_time: 2022/04/10 17:00:00
custom_text:

search:
enable: true
type: local
preload: true
trigger: auto

baidu_push: true

reward:
enable: true
methods:
- name: 微信
path: https://mp-8b005489-7724-4f8c-afdd-30192ff4f7ae.cdn.bspapp.com/cloudstorage/61a57135-2e65-4d51-8be1-03b8bd1c595e.jpg
- name: 支付宝
path: https://mp-8b005489-7724-4f8c-afdd-30192ff4f7ae.cdn.bspapp.com/cloudstorage/a21e9954-22f2-43fe-b3b0-3dba1fdde3ed.jpg
- name: QQ
path: https://mp-8b005489-7724-4f8c-afdd-30192ff4f7ae.cdn.bspapp.com/cloudstorage/69fb1903-d0dc-4169-9a02-1e76ec8e7761.jpg

creative_commons:
license: by-nc-sa
language: deed.zh
post: true
clipboard: true

swup: true

toc:
enable: true
list_number: true
max_depth: 3
min_depth: 1

rightside:
readmode: true
aside: true

post_pagination:
enable: true
type: small

cdn:
js:
head:
base: [demo.js]

assets:
third_party_provider: https://npm.elemecdn.com

highlight:
title: mac
height_limit: 200
代码块的标题/asd/asd
#!/bin/bash

###### CONFIG
ACCEPTED_HOSTS="/root/.hag_accepted.conf"
BE_VERBOSE=false

if [ "$UID" -ne 0 ]
then
echo "Superuser rights required"
exit 2
fi

genApacheConf(){
echo -e "# Host ${HOME_DIR}$1/$2 :"
}

echo '"quoted"' | tr -d \" > text.txt
class MyClass {
public static myValue: string;
constructor(init: string) {
this.myValue = init;
}
}
import fs = require("fs");
module MyModule {
export interface MyInterface extends Other {
myProperty: any;
}
}
declare magicNumber number;
myArray.forEach(() => { }); // fat arrow syntax
function $initHighlight(block, cls) {
try {
if (cls.search(/\bno\-highlight\b/) != -1)
return process(block, true, 0x0F) +
` class="${cls}"`;
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length; i++) {
if (checkCondition(classes[i]) === undefined)
console.log('undefined');
}

return (
<div>
<web-component>{block}</web-component>
</div>
)
}

export $initHighlight;
using System.IO.Compression;

#pragma warning disable 414, 3021

namespace MyApplication
{
[Obsolete("...")]
class Program : IInterface
{
public static List<int> JustDoIt(int count)
{
Span<int> numbers = stackalloc int[length];
Console.WriteLine($"Hello {Name}!");
return new List<int>(new int[] { 1, 2, 3 })
}
}
}
@font-face {
font-family: Chunkfive; src: url('Chunkfive.otf');
}

body, .usertext {
color: #F0F0F0; background: #600;
font-family: Chunkfive, sans;
--heading-1: 30px/32px Helvetica, sans-serif;
}

@import url(print.css);
@media print {
a[href^=http]::after {
content: attr(href)
}
}
<!DOCTYPE html>
<title>Title</title>

<style>body {width: 500px;}</style>

<script type="application/javascript">
function $init() {return true;}
</script>

<body>
<p checked class="title" id='title'>Title</p>
<!-- here goes the rest of the page -->
</body>
# hello world

you can write text [with links](http://example.com) inline or [link references][1].

* one _thing_ has *em*phasis
* two __things__ are **bold**

[1]: http://example.com

---

hello world
===========

<this_is inline="xml"></this_is>

> markdown is so cool

so are code segments

1. one thing (yeah!)
2. two thing `i can write code`, and `more` wipee!
CREATE TABLE "topic" (
"id" integer NOT NULL PRIMARY KEY,
"forum_id" integer NOT NULL,
"subject" varchar(255) NOT NULL
);
ALTER TABLE "topic"
ADD CONSTRAINT forum_id FOREIGN KEY ("forum_id")
REFERENCES "forum" ("id");

-- Initials
insert into "topic" ("forum_id", "subject")
values (2, 'D''artagnian');

我很可爱,请给我钱

其他文章
cover
Tag Plugins
  • 22/12/30
  • 15:08
  • Plugins
请输入关键词进行搜索