V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  jlak  ›  全部回复第 1 页 / 共 15 页
回复总数  286
1  2  3  4  5  6  7  8  9  10 ... 15  
120 天前
回复了 jlak 创建的主题 问与答 lucia auth 是不是变了?有什么代替方案吗?
@TimeDong 现在看他的教程手搓登录,以外的简单
126 天前
回复了 Plumbiu 创建的主题 Next.js 发现很多人不了解 Next.js
@jlak 错了 不是 localhost ,是远程服务器 port fowarding 过来的
126 天前
回复了 Plumbiu 创建的主题 Next.js 发现很多人不了解 Next.js
性能有这么差吗?昨天 locust localhost 测试 5000 用户一个实际项目 非常稳定,依然不错的速度
上线版 PageSpeed Insights 0.2 秒首字 0.5 完全渲染
@asd7160 #4 #11 你是不是在云聊,一般玩家都是量化版 16G 显存就完全足够成品也是不错的 有兴趣可以去模型圈子里溜达一圈先 8GB 显存就可以尝鲜。RTX5090 也有几万了,显存 32G
@asd7160 有台 3060 12gb 配的 i5 3470+16gb 爆显存爆内存很累

@murmur 能正常购买


@gaobh 跑量化模型


@Clannad0708 API 抽卡调试成本不更吗


@Morriaty 跑过图片 但视频类跑不动
@asd7160 忘记说是 AI 视频,语言大模型有很多免费的不考虑部署
145 天前
回复了 kodise 创建的主题 Apple 有双持果友吗?请教一下感受
把标题看成双持男友,抱着疑问点进一看
gpt 可能假设你 page.js 之前还有一层 loading.js
149 天前
回复了 jlak 创建的主题 问与答 想不起一个有大模型性价比图的网站
@neteroster 应该不是这个 印象里有比较干净的 xy 图 x 轴价格 y 轴跑分
不过 gemini 2 flash lite 测试下来的确很不错
当时跑分最高的好像 1390 Gemini pro 好像
刚入 turbo4 的表示#%@!#@
警方不作为可以打电话给 12345 投诉警方
@guts 现在越狱没有系统版本要求了??
256 天前
回复了 lilistar9999 创建的主题 求职 成都前端 本科 2 年 求捞
排版颜色间距对比啥都是问题,槽点太多了
看到 3899 的电脑 涨到 4999 然后国补后 3999
291 天前
回复了 ikw 创建的主题 分享创造 一觉醒来, HackerNews 上前三了
这种是不是很吃 token
293 天前
回复了 jlak 创建的主题 问与答 请问 next.js 里如何好好渲染 md
@scienhub tw 会删除所有默认样式,用 @ tailwindcss/typography 插件后好多了
293 天前
回复了 jlak 创建的主题 问与答 请问 next.js 里如何好好渲染 md
找到元凶了,是 TailwindCSS 去掉了所有样式,删除 TailwindCSS 后正常了,但又不能不用 TailwindCSS
293 天前
回复了 jlak 创建的主题 问与答 请问 next.js 里如何好好渲染 md
293 天前
回复了 jlak 创建的主题 问与答 请问 next.js 里如何好好渲染 md
Reply 6
jlak
OP
刚刚
新弄了一套 还是丑 空行都消失了
```javascript
import { MDXRemote } from "next-mdx-remote/rsc";
import matter from "gray-matter";
import remarkGfm from "remark-gfm";
export default async function Test3() {
const data = await fetch(
"https://raw.githubusercontent.com/onwidget/astrowind/refs/heads/main/src/data/post/landing.md"
);
const text = await data.text();
const { content } = matter(text);

const mdxOptions = {
mdxOptions: {
remarkPlugins: [remarkGfm],
},
};

const components = {
h1: ({ children }: { children: React.ReactNode }) => (
<h1 className="text-3xl font-bold text-red-500">{children}</h1>
),
p: ({ children }: { children: React.ReactNode }) => (
<p className="text-lg text-gray-700">{children}</p>
),
a: ({ children, href }: { children: React.ReactNode; href: string }) => (
<a href={href} className="text-blue-500 hover:underline">
{children}
</a>
),
ul: ({ children }: { children: React.ReactNode }) => (
<ul className="list-disc list-inside text-gray-700">{children}</ul>
),
li: ({ children }: { children: React.ReactNode }) => (
<li className="text-gray-700">{children}</li>
),
code: ({ children }: { children: React.ReactNode }) => (
<code className="text-gray-700">{children}</code>
),
blockquote: ({ children }: { children: React.ReactNode }) => (
<blockquote className="text-gray-700">{children}</blockquote>
),
table: ({ children }: { children: React.ReactNode }) => (
<table className="text-gray-700">{children}</table>
),
tr: ({ children }: { children: React.ReactNode }) => (
<tr className="text-gray-700">{children}</tr>
),
td: ({ children }: { children: React.ReactNode }) => (
<td className="text-gray-700">{children}</td>
),
};

return (
<div className="container mx-auto p-4">
<MDXRemote
source={content}
options={mdxOptions}
components={components}
/>
</div>
);
}
293 天前
回复了 jlak 创建的主题 问与答 请问 next.js 里如何好好渲染 md
新弄了一套 还是丑 空行都消失了
```javascript
import { MDXRemote } from "next-mdx-remote/rsc";
import matter from "gray-matter";
import remarkGfm from "remark-gfm";
export default async function Test3() {
const data = await fetch(
"https://raw.githubusercontent.com/onwidget/astrowind/refs/heads/main/src/data/post/landing.md"
);
const text = await data.text();
const { content } = matter(text);

const mdxOptions = {
mdxOptions: {
remarkPlugins: [remarkGfm],
},
};

const components = {
h1: ({ children }: { children: React.ReactNode }) => (
<h1 className="text-3xl font-bold text-red-500">{children}</h1>
),
p: ({ children }: { children: React.ReactNode }) => (
<p className="text-lg text-gray-700">{children}</p>
),
a: ({ children, href }: { children: React.ReactNode; href: string }) => (
<a href={href} className="text-blue-500 hover:underline">
{children}
</a>
),
ul: ({ children }: { children: React.ReactNode }) => (
<ul className="list-disc list-inside text-gray-700">{children}</ul>
),
li: ({ children }: { children: React.ReactNode }) => (
<li className="text-gray-700">{children}</li>
),
code: ({ children }: { children: React.ReactNode }) => (
<code className="text-gray-700">{children}</code>
),
blockquote: ({ children }: { children: React.ReactNode }) => (
<blockquote className="text-gray-700">{children}</blockquote>
),
table: ({ children }: { children: React.ReactNode }) => (
<table className="text-gray-700">{children}</table>
),
tr: ({ children }: { children: React.ReactNode }) => (
<tr className="text-gray-700">{children}</tr>
),
td: ({ children }: { children: React.ReactNode }) => (
<td className="text-gray-700">{children}</td>
),
};

return (
<div className="container mx-auto p-4">
<MDXRemote
source={content}
options={mdxOptions}
components={components}
/>
</div>
);
}
```
1  2  3  4  5  6  7  8  9  10 ... 15  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   870 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 35ms · UTC 20:41 · PVG 04:41 · LAX 13:41 · JFK 16:41
♥ Do have faith in what you're doing.