ChangelogJune 25, 2024seowriting-contentcomponents2024年6月RSS 订阅集成 新增了RSS订阅支持,让用户及时了解文档更改。团队现在可以为其文档提供自动化通知。 JSON-LD 增强 通过JSON-LD实现了结构化数据支持,改善SEO效果。文档页面现在可以向搜索引擎和社交平台提供更丰富的信息。 1{2 "@context": "https://schema.org",3 "@type": "TechArticle",4 "headline": "API Authentication Guide",5 "datePublished": "2024-06-15",6 "technicalAudience": "Software Developers"7} 图片缩放控制 新增了可配置的图片缩放功能,支持自定义触发器和行为。用户现在可以更好地检查文档中的图表和技术插图。 page.mdx1---2no-image-zoom: true3--- Read the docs 语法扩展支持 新增对BAML和Jinja等编程语言的语法高亮支持。文档现在可以正确显示更广泛的代码示例。 1<body>2 <h1>Available Products</h1>3 {% if products %}4 <ul>5 {% for product in products %}6 <li class="product">7 <h2>{{ product.name }}</h2>8 <p class="price">${{ product.price }}</p>9 <p>{{ product.description }}</p>10 {% if product.in_stock %}11 <p><strong>Status:</strong> In Stock</p>12 {% else %}13 <p><strong>Status:</strong> Out of Stock</p>14 {% endif %}15 </li>16 {% endfor %}17 </ul>18 {% else %}19 <p>No products are available at the moment.</p>20 {% endif %}21</body>
June 25, 2024seowriting-contentcomponents2024年6月RSS 订阅集成 新增了RSS订阅支持,让用户及时了解文档更改。团队现在可以为其文档提供自动化通知。 JSON-LD 增强 通过JSON-LD实现了结构化数据支持,改善SEO效果。文档页面现在可以向搜索引擎和社交平台提供更丰富的信息。 1{2 "@context": "https://schema.org",3 "@type": "TechArticle",4 "headline": "API Authentication Guide",5 "datePublished": "2024-06-15",6 "technicalAudience": "Software Developers"7} 图片缩放控制 新增了可配置的图片缩放功能,支持自定义触发器和行为。用户现在可以更好地检查文档中的图表和技术插图。 page.mdx1---2no-image-zoom: true3--- Read the docs 语法扩展支持 新增对BAML和Jinja等编程语言的语法高亮支持。文档现在可以正确显示更广泛的代码示例。 1<body>2 <h1>Available Products</h1>3 {% if products %}4 <ul>5 {% for product in products %}6 <li class="product">7 <h2>{{ product.name }}</h2>8 <p class="price">${{ product.price }}</p>9 <p>{{ product.description }}</p>10 {% if product.in_stock %}11 <p><strong>Status:</strong> In Stock</p>12 {% else %}13 <p><strong>Status:</strong> Out of Stock</p>14 {% endif %}15 </li>16 {% endfor %}17 </ul>18 {% else %}19 <p>No products are available at the moment.</p>20 {% endif %}21</body>