This is content converted from Markdown!
Here's a JSON sample:
{
"foo": "bar"
}| <html> | |
| <head> | |
| <style> | |
| h1 { | |
| font-family: Calibri; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>Hello World!</h1> |
| // ==UserScript== | |
| // @name Switch twitter icon | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Switch twitter icon | |
| // @author mikan_chn | |
| // @match https://twitter.com/* | |
| // @grant none | |
| // ==/UserScript== |
| require('readline').createInterface({input: process.stdin, output: process.stdout}).question("Enter a string: ", str => {console.log(str.split("").reverse().join(""))}) |
| <script setup lang="ts"> | |
| import { AtpAgent } from '@atproto/api' | |
| import { NStatistic, NNumberAnimation } from 'naive-ui' | |
| const agent = new AtpAgent({service: 'https://bsky.social'}) | |
| const session = await agent.login({identifier: '', password: ''}) | |
| const profile = await agent.getProfile({actor: session.data.did}) | |
| </script> | |
| <template> | |
| <div class="flex flex-row justify-center items-center"> |
| <script setup lang="ts"> | |
| import backgroundPatternImage from '~/assets/background_pattern.png'; | |
| import circleBaseImage from '~/assets/bg_common_circlebase.png'; | |
| import circleLineImage from '~/assets/bg_common_circleline.png'; | |
| const background = ref<HTMLCanvasElement | null>(null); | |
| const width = ref<number>(window.innerWidth); | |
| const height = ref<number>(window.innerHeight); | |
| const backgroundCtx = ref<CanvasRenderingContext2D | null>(null); | |
| const imageAsset = reactive<{ |
| import { spine } from './spine-widget/index.js'; | |
| const spineDir = '/spine/'; | |
| const idleMaxTime = 60000; | |
| const edge = 40; | |
| interface model { | |
| name: string; | |
| skin: string; | |
| animations: { | |
| start: string; |