mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 06:24:06 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
77c9cac3d4
7 changed files with 19 additions and 36 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"title": "Formatting elements",
|
||||
"title-img": "background-color:#269;background-image: linear-gradient(white 2px, transparent 2px),linear-gradient(90deg, white 2px, transparent 2px),linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;",
|
||||
"type": "doc",
|
||||
"updated": "20230820185102"
|
||||
"updated": "20240225111211"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20210104091509-8csaq4j",
|
||||
"updated": "20220918174924"
|
||||
"updated": "20240225111211"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
},
|
||||
"Properties": {
|
||||
"id": "20220916200111-8pnrqr2",
|
||||
"updated": "20220916200115"
|
||||
"updated": "20240225111211"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -140,15 +140,13 @@
|
|||
"ID": "20220916200115-rstez65",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220916200115-rstez65"
|
||||
"id": "20220916200115-rstez65",
|
||||
"updated": "20240225111211"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeImage",
|
||||
"Data": "span",
|
||||
"Properties": {
|
||||
"style": "display: block;"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeBang"
|
||||
|
|
@ -174,10 +172,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeKramdownSpanIAL",
|
||||
"Data": "{: style=\"display: block;\"}"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "\n"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"title": "排版元素",
|
||||
"title-img": "background-color: hsl(2, 57%, 40%);background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(270deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(125deg, transparent, transparent 2px, rgba(0,0,0,.2) 2px, rgba(0,0,0,.2) 3px, transparent 3px, transparent 5px, rgba(0,0,0,.2) 5px);",
|
||||
"type": "doc",
|
||||
"updated": "20230820185054"
|
||||
"updated": "20240225111151"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20210104091228-ttcj9nm",
|
||||
"updated": "20220918174723"
|
||||
"updated": "20240225111151"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
},
|
||||
"Properties": {
|
||||
"id": "20220916195046-bdzv6fy",
|
||||
"updated": "20210604222204"
|
||||
"updated": "20240225111151"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -141,15 +141,12 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20210604222158-w17nnmy",
|
||||
"updated": "20210604222204"
|
||||
"updated": "20240225111151"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeImage",
|
||||
"Data": "span",
|
||||
"Properties": {
|
||||
"style": "display: block;"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeBang"
|
||||
|
|
@ -175,10 +172,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeKramdownSpanIAL",
|
||||
"Data": "{: style=\"display: block;\"}"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "\n"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
"id": "20211226121319-emrk2yy",
|
||||
"title": "排版元素",
|
||||
"title-img": "background-color: hsl(2, 57%, 40%);background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(270deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(125deg, transparent, transparent 2px, rgba(0,0,0,.2) 2px, rgba(0,0,0,.2) 3px, transparent 3px, transparent 5px, rgba(0,0,0,.2) 5px);",
|
||||
"updated": "20230820185037"
|
||||
"updated": "20240225111159"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20211226122008-1e014nh",
|
||||
"updated": "20220918174803"
|
||||
"updated": "20240225111159"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
},
|
||||
"Properties": {
|
||||
"id": "20220916195409-g57vfyf",
|
||||
"updated": "20211226122008"
|
||||
"updated": "20240225111159"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -140,15 +140,12 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20211226122008-poajwbi",
|
||||
"updated": "20210604222204"
|
||||
"updated": "20240225111159"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeImage",
|
||||
"Data": "span",
|
||||
"Properties": {
|
||||
"style": "display: block;"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeBang"
|
||||
|
|
@ -174,10 +171,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "NodeKramdownSpanIAL",
|
||||
"Data": "{: style=\"display: block;\"}"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "\n"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ export const setLute = (options: ILuteOptions) => {
|
|||
lute.SetSpellcheck(window.siyuan.config.editor.spellcheck);
|
||||
lute.SetProtyleMarkNetImg(window.siyuan.config.editor.displayNetImgMark);
|
||||
lute.SetFileAnnotationRef(true);
|
||||
lute.SetHTMLTag2TextMark(true);
|
||||
lute.SetTextMark(true);
|
||||
lute.SetHeadingID(false);
|
||||
lute.SetYamlFrontMatter(false);
|
||||
|
|
|
|||
2
app/src/types/protyle.d.ts
vendored
2
app/src/types/protyle.d.ts
vendored
|
|
@ -172,6 +172,8 @@ declare class Lute {
|
|||
|
||||
public SetTextMark(enable: boolean): void;
|
||||
|
||||
public SetHTMLTag2TextMark(enable: boolean): void;
|
||||
|
||||
public SetHeadingID(enable: boolean): void;
|
||||
|
||||
public SetProtyleMarkNetImg(enable: boolean): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue