2024.03.28

옵시디언 기본 포맷팅 테스트


뒤로가기

This is a heading 1

This is a heading 2

This is a heading 3

This is a heading 4

This is a heading 5
This is a heading 6

Normal Text

Bold text

Italic text

Striked out text

Highlighted text

Bold text and nested italic text

Bold and italic text

  • [x] This is a completed task.
  • [ ] This is an incomplete task.
이미지 테스트
convert.py
📋 COPY
1
2
3
4
5
6
7
8
def convert_markdown_to_html(md_file):
    import markdown2

    md_content = get_content_from_md_file(md_file)
    blocks = convert_block(md_content)
    html_content = ""
    all_links = []
    all_resources = []
CategoryLink.tsx
📋 COPY
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
import { ReactElement } from "react";
import "./CategoryLink.css";
import Link from "next/link";
import React from "react";
// import { Link } from "react-router-dom";

interface CategoryLinkProps {
  to: string;
  children: string | ReactElement;
}

export default function CategoryLink({ to, children }: CategoryLinkProps) {
  return (
    <div id="category-link" className="w-fit px-1">
      <Link className="link" href={to}>
        <h5>{children}</h5>
      </Link>
    </div>
  );
}

1. 그냥 메모

2. 그냥 메모

3. 그냥 메모

그냥 메모 하하

제목 있는 블록

제목 있는 블록

뒤로가기