Last active
May 19, 2022 00:57
-
-
Save iamkissg/f168bf627b36cd9d09b8183c85981c49 to your computer and use it in GitHub Desktop.
简悦 Markdown 增强导出配置 #simpread #markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
let colors = [ '#B4D9FB', '#ffeb3b', '#a2e9f2', '#a1e0ff', '#a8ea68', '#ffb7da' ], | |
color = colors[ annote.color ]; | |
-%> | |
> [!<%= (annote.note? "note":"abstract")%>]+ <mark style="background-color: <%= color %>">Highlight</mark> [🧷](<{{an_int_uri}}>)[🌐](<{{an_ext_uri}}>) {{an_tags}} | |
{{{html_format|>|{{an_html}}}}} | |
<% if (annote.note) { -%> | |
{{> - 📝|an_note}} | |
<% } -%> | |
^sran-{{an_id}} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
UID: {{timestamp}} | |
title: "srAnnote@{{title}}" | |
--- | |
# {{title}} | |
> [!md] **Metadata** | |
> **原文**:: [{{title}}]({{url}}) | |
> **日期**:: [[{{create|yyyy-mm-dd_ddd}}]] | |
> **标签**:: #simpread {{tags}} #{{date_format|now|yyyy-MM-dd}} #reading_highlights | |
<% if ( unread.refs ) { -%> | |
> **外部引用**:: {{refs}} | |
<% } -%> | |
<% if ( unread.backlinks ) { -%> | |
> **反向链接**:: {{backlinks}} | |
<% } -%> | |
<% if ( unread.note ) { -%> | |
> [!note] **摘要** | |
> <%- unread.note %> | |
<% } -%> | |
<% if ( unread.desc ) { -%> | |
> [!summary] **描述** | |
> <%- unread.desc %> | |
<% } -%> | |
## Annotations | |
<% if ( unread.annotations.length > 0 ) { %> | |
{{annotations}} | |
<% } %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment