#telegram #tips #plus1
Telegram 官方 Desktop 客户端现在可以创建格式化文本链接了!
只需要在消输入息框使用弹出菜单->Formatting 即可快速格式化文本
对应 Markdown
对应 Markdown
对应 Markdown
Link/链接:Ctrl+K
无对应 Markdown ( [foo](https://) 是无效的 )
Telegram 官方 Desktop 客户端现在可以创建格式化文本链接了!
只需要在消输入息框使用弹出菜单->Formatting 即可快速格式化文本
快捷键:Bold/粗体:Ctrl+K
对应 Markdown
__text__ **Text**
Italic/斜体:Ctrl+I对应 Markdown
_text_ *Text*
Monospace/等宽:Ctrl+Shift+M对应 Markdown
```MultiLineText```Plain/无格式:Ctrl+Shift+N
`SingleLineText`
Link/链接:Ctrl+K
无对应 Markdown ( [foo](https://) 是无效的 )
#web #dev #tips 快速创建 Web 前端:
Script tag
async 表示加载时不要等待获取脚本
charset 可选
关于 HTML Head 中可用标签
<!DOCTYPE html>HTML Tag
<html lang="en" dir="ltr"></html>// lang: en/zh-cn
Script tag
<script type="" async="" charset="UTF-8" src="script_location"></script>type 默认 text/javascript,如果不是浏览器当它普通文本块由第三方脚本处理执行
async 表示加载时不要等待获取脚本
charset 可选
关于 HTML Head 中可用标签
<meta charset="UTF-8 / utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
; <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
; <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
<title>Tab Title</title>
<link rel="mask-icon" href="https://assets-cdn.github.com/pinned-octocat.svg" color="#000000">
<meta property="og:site_name" content="OpenGraph title">
<meta property="og:url" content="https://www.microsoft.com/zh-cn">
<meta property="og:title" content="Page">
<meta property="og:description" content="At Microsoft our mission and values are to help people and businesses throughout the world realize their full potential.">
<meta property="og:type" content="website">
<meta property="og:image" content="https://assets-cdn.github.com/images/modules/open_graph/github-logo.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="1200">
<meta name="theme-color" content="#2196F3">
<link rel="alternate" type="application/atom+xml" title="ATOM" href="/">
<meta content="index,follow" name="robots">
<meta content="telphone=no, email=no" name="format-detection">
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta name="description" content="Desc">
<link rel="icon" href="https://all-dream.com/favicon.ico">
<link rel="SHORTCUT ICON" href="https://a.com/favicon.ico" type="image/x-icon">
<link rel="dns-prefetch" href="//statics-marketingsites-neu-ms-com.akamaized.net">
<link rel="preconnect" href="//statics-marketingsites-neu-ms-com.akamaized.net">
<link rel="preload" as="font" crossorigin="crossorigin" type="font/woff" href="https://w.woff2">
<link rel="preload" as="script" href="//www">
<link rel="stylesheet" href="//www" type="text/css" media="all">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
<link rel="canonical" href="https://www.foo.com">
<script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="//audiencemanager.js"></script>
<link rel="stylesheet" href="https://cdnjs.loli.net/ajax/libs/mdui/0.4.1/css/mdui.min.css">#PL #recommended #project 外国有人准备制作一个类 C 和 Haskell 并准备支持类似现在一些新语言的特性(包括语法上的),手动管理内存的编译性语言叫 Jai
它还支持反射和函数泛型、不错的新特性等
It looks like this:
counter: int =
name: string =
average: float =
counter :=
counter: int; // w/o initialize like C int counter;
sum :: (x: float, y: float, z: float) -> float {
return x + y + z;
}
print(
Vector2 :: struct {
x: float;
y: float;
}
a: [
print_int_array :: (a: [] int) -> fooSt
for i :
print("%\n", it);
print("%\n", it_index);
}
#run generate_linear_srgb(); // 支持编译时运行宏 #run invokes the compile time execution
sum :: (a: $T, b: T) -> T {
return a + b;
}
#bake sum(a,
print_any :: (a: Any) {
if a.type.type == Type_Info_Tag.FLOAT
else if // ....
}
node :: struct {
owned_a : !* node =
owned_b : !* node =
}
example: node = new node;
delete example;
#inline fn
#no_inline fn_b
它还支持反射和函数泛型、不错的新特性等
It looks like this:
counter: int =
0;name: string =
"Jon";average: float =
0.5 * (x+y);counter :=
0; // int countercounter: int; // w/o initialize like C int counter;
sum :: (x: float, y: float, z: float) -> float {
return x + y + z;
}
print(
"Sum: %\n", sum(1, 2, 3));Vector2 :: struct {
x: float;
y: float;
}
a: [
50] int;print_int_array :: (a: [] int) -> fooSt
for i :
0..n-1 {print("%\n", it);
print("%\n", it_index);
}
#run generate_linear_srgb(); // 支持编译时运行宏 #run invokes the compile time execution
sum :: (a: $T, b: T) -> T {
return a + b;
}
#bake sum(a,
1) // a += 1print_any :: (a: Any) {
if a.type.type == Type_Info_Tag.FLOAT
else if // ....
}
node :: struct {
owned_a : !* node =
null;owned_b : !* node =
null;}
example: node = new node;
delete example;
#inline fn
#no_inline fn_b
GitHub
JaiPrimer/JaiPrimer.md at master · BSVino/JaiPrimer
A description of Jonathan Blow's programming language, Jai - BSVino/JaiPrimer