<% for (const annotation of it) { %> <%~ include("annotation", annotation) %>
<% } %>
| import React, { | |
| useState, | |
| useRef, | |
| useEffect, | |
| useCallback, | |
| useMemo, | |
| } from "react"; | |
| import { | |
| Search, | |
| Save, |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # title: pdf_explain | |
| # author: Hsieh-Ting Lin, the Lizard π¦ | |
| # description: This script splits a PDF file into individual pages and saves each page as a Markdown file with an auto-generated title and explanation in Traditional Chinese. It uses the OpenAI API to generate titles and explanations. | |
| # date: "2024-07-13" | |
| import os | |
| import openai |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # title: main | |
| # author: Hsieh-Ting Lin, the Lizard π¦ | |
| # description: This script is to extract the text from a PDF file and convert it to JSON format. Used for foundation_one NGS report, for biomarker_findings | |
| # date: "2024-07-01" | |
| # --END-- # | |
| import json |
| { | |
| "translatorID": "d90fd4af-9eeb-4232-9feb-8fd05bcf6f8b", | |
| "translatorType": 2, | |
| "label": "Markdown Item URI with Citekey", | |
| "creator": "Silent", | |
| "target": "markdown", | |
| "minVersion": "2.0", | |
| "maxVersion": "", | |
| "priority": 200, | |
| "inRepository": false, |
| /* @theme my-theme */ | |
| @charset "UTF-8"; | |
| /*! | |
| * | |
| * @auto-scaling true | |
| * @size 4:3 960px 720px | |
| * @size 16:9 1280px 720px | |
| */ | |
| @import url("https://unpkg.com/markdown-it-admon/styles/admonition.css"); |
<% for (const annotation of it) { %> <%~ include("annotation", annotation) %>
<% } %>
<%= it.map(lit => [[${lit.citekey}|(${lit.authors.first()}, ${lit.date})]]).join("; ") %>