Traduzir "hexo uses two" para chinês

Mostrando 50 de 50 traduções da frase "hexo uses two" de inglês para chinês

Traduções de hexo uses two

"hexo uses two" em inglês pode ser traduzido nas seguintes palavras/frases chinês:

hexo hexo
uses 使用
two a

Tradução de inglês para chinês de hexo uses two

inglês
chinês

EN For example, Hexo has hexo-renderer-marked and hexo-renderer-ejs installed by default, so you can write your posts in markdown or in ejs. If you have hexo-renderer-pug installed, then you can even write your post in pug template language.

ZH 例如,Hexo 默认安装了 hexo-renderer-marked 和 hexo-renderer-ejs,因此你不仅可以用 Markdown 写作,你还可以用 EJS 写作。如果你安装了 hexo-renderer-pug,你甚至可以用 Pug 模板语言书写文章。

Transliteração lì rú,Hexo mò rèn ān zhuāng le hexo-renderer-marked hé hexo-renderer-ejs, yīn cǐ nǐ bù jǐn kě yǐ yòng Markdown xiě zuò, nǐ hái kě yǐ yòng EJS xiě zuò。rú guǒ nǐ ān zhuāng le hexo-renderer-pug, nǐ shén zhì kě yǐ yòng Pug mó bǎn yǔ yán shū xiě wén zhāng。

inglês chinês
hexo hexo

EN Box is a container used for processing files in a specified folder. Hexo uses two different boxes: hexo.source and hexo.theme. The former is used to process the source folder and the latter to process the theme folder.

ZH 「Box」是 Hexo 用来处理特定文件夹中的文件的容器,在 Hexo 中有两个 Box,分别是 hexo.source 和 hexo.theme,前者用于处理 source 文件夹,而后者用于处理主题文件夹。

Transliteração 「Box」 shì Hexo yòng lái chù lǐ tè dìng wén jiàn jiā zhōng de wén jiàn de róng qì, zài Hexo zhōng yǒu liǎng gè Box, fēn bié shì hexo.source hé hexo.theme, qián zhě yòng yú chù lǐ source wén jiàn jiā, ér hòu zhě yòng yú chù lǐ zhǔ tí wén jiàn jiā。

inglês chinês
hexo hexo

EN Box is a container used for processing files in a specified folder. Hexo uses two different boxes: hexo.source and hexo.theme. The former is used to process the source folder and the latter to process the theme folder.

ZH 「Box」是 Hexo 用来处理特定文件夹中的文件的容器,在 Hexo 中有两个 Box,分别是 hexo.source 和 hexo.theme,前者用于处理 source 文件夹,而后者用于处理主题文件夹。

Transliteração 「Box」 shì Hexo yòng lái chù lǐ tè dìng wén jiàn jiā zhōng de wén jiàn de róng qì, zài Hexo zhōng yǒu liǎng gè Box, fēn bié shì hexo.source hé hexo.theme, qián zhě yòng yú chù lǐ source wén jiàn jiā, ér hòu zhě yòng yú chù lǐ zhǔ tí wén jiàn jiā。

inglês chinês
hexo hexo

EN Hexo has two built-in syntax highlight libraries, highlight.js and prismjs. This tutorial shows you how to integrate Hexo’s built-in syntax highlight into your template.

ZH Hexo 对 highlight.js 与 prismjs 两种代码高亮库提供内建支持。本篇教程将展示如何将 Hexo 的内建语法高亮组件整合至你的模板中。

Transliteração Hexo duì highlight.js yǔ prismjs liǎng zhǒng dài mǎ gāo liàng kù tí gōng nèi jiàn zhī chí。běn piān jiào chéng jiāng zhǎn shì rú hé jiāng Hexo de nèi jiàn yǔ fǎ gāo liàng zǔ jiàn zhěng hé zhì nǐ de mó bǎn zhōng。

inglês chinês
hexo hexo

EN Hexo has two built-in syntax highlight libraries, highlight.js and prismjs. This tutorial shows you how to integrate Hexo’s built-in syntax highlight into your template.

ZH Hexo 对 highlight.js 与 prismjs 两种代码高亮库提供内建支持。本篇教程将展示如何将 Hexo 的内建语法高亮组件整合至你的模板中。

Transliteração Hexo duì highlight.js yǔ prismjs liǎng zhǒng dài mǎ gāo liàng kù tí gōng nèi jiàn zhī chí。běn piān jiào chéng jiāng zhǎn shì rú hé jiāng Hexo de nèi jiàn yǔ fǎ gāo liàng zǔ jiàn zhěng hé zhì nǐ de mó bǎn zhōng。

inglês chinês
hexo hexo

EN You can rename your posts and change to file extension from .md to .ejs, then Hexo will use hexo-renderer-ejs to render that file, so do the other formats.

ZH 只需要将文章的扩展名从 md 改成 ejs,Hexo 就会使用 hexo-renderer-ejs 渲染这个文件,其他格式同理。

Transliteração zhǐ xū yào jiāng wén zhāng de kuò zhǎn míng cóng md gǎi chéng ejs,Hexo jiù huì shǐ yòng hexo-renderer-ejs xuàn rǎn zhè gè wén jiàn, qí tā gé shì tóng lǐ。

inglês chinês
hexo hexo

EN Server-side means, the syntax highlight is generated during hexo generate or hexo server.

ZH 「服务端高亮」指语法高亮在 hexo generate 或 hexo server 时完成。

Transliteração 「fú wù duān gāo liàng」 zhǐ yǔ fǎ gāo liàng zài hexo generate huò hexo server shí wán chéng。

inglês chinês
hexo hexo

EN Line Highlight: Both Hexo Tag Plugin - Code Block and Tag Plugin - Backtick Code Block supports Line Highlight syntax (mark option). When mark option is given, Hexo will generate the corresponding HTML markup.

ZH 高亮特定行: Hexo 的代码块标签插件反引号代码块标签插件都支持高亮特定行的语法(即 mark 选项)。当 mark 项被设置时,Hexo 将生成其所需的 HTML 代码格式。

Transliteração gāo liàng tè dìng xíng: Hexo de dài mǎ kuài biāo qiān chā jiàn hé fǎn yǐn hào dài mǎ kuài biāo qiān chā jiàn dōu zhī chí gāo liàng tè dìng xíng de yǔ fǎ (jí mark xuǎn xiàng)。dāng mark xiàng bèi shè zhì shí,Hexo jiāng shēng chéng qí suǒ xū de HTML dài mǎ gé shì。

inglês chinês
hexo hexo
html html

EN Hexo inherits from EventEmitter. Use the on method to listen for events emitted by Hexo, and use the emit method to emit events. For more information, refer to the Node.js API documentation.

ZH Hexo 继承了 EventEmitter,您可以用 on 方法监听 Hexo 所发布的事件,也可以使用 emit 方法对 Hexo 发布事件,更详细的说明请参阅 Node.js 的 API。

Transliteração Hexo jì chéng le EventEmitter, nín kě yǐ yòng on fāng fǎ jiān tīng Hexo suǒ fā bù de shì jiàn, yě kě yǐ shǐ yòng emit fāng fǎ duì Hexo fā bù shì jiàn, gèng xiáng xì de shuō míng qǐng cān yuè Node.js de API。

inglês chinês
hexo hexo
api api

EN Server-side means, the syntax highlight is generated during hexo generate or hexo server.

ZH 「服务端高亮」指语法高亮在 hexo generate 或 hexo server 时完成。

Transliteração 「fú wù duān gāo liàng」 zhǐ yǔ fǎ gāo liàng zài hexo generate huò hexo server shí wán chéng。

inglês chinês
hexo hexo

EN Line Highlight: Both Hexo Tag Plugin - Code Block and Tag Plugin - Backtick Code Block supports Line Highlight syntax (mark option). When mark option is given, Hexo will generate the corresponding HTML markup.

ZH 高亮特定行: Hexo 的代码块标签插件反引号代码块标签插件都支持高亮特定行的语法(即 mark 选项)。当 mark 项被设置时,Hexo 将生成其所需的 HTML 代码格式。

Transliteração gāo liàng tè dìng xíng: Hexo de dài mǎ kuài biāo qiān chā jiàn hé fǎn yǐn hào dài mǎ kuài biāo qiān chā jiàn dōu zhī chí gāo liàng tè dìng xíng de yǔ fǎ (jí mark xuǎn xiàng)。dāng mark xiàng bèi shè zhì shí,Hexo jiāng shēng chéng qí suǒ xū de HTML dài mǎ gé shì。

inglês chinês
hexo hexo
html html

EN Hexo inherits from EventEmitter. Use the on method to listen for events emitted by Hexo, and use the emit method to emit events. For more information, refer to the Node.js API documentation.

ZH Hexo 继承了 EventEmitter,您可以用 on 方法监听 Hexo 所发布的事件,也可以使用 emit 方法对 Hexo 发布事件,更详细的说明请参阅 Node.js 的 API。

Transliteração Hexo jì chéng le EventEmitter, nín kě yǐ yòng on fāng fǎ jiān tīng Hexo suǒ fā bù de shì jiàn, yě kě yǐ shǐ yòng emit fāng fǎ duì Hexo fā bù shì jiàn, gèng xiáng xì de shuō míng qǐng cān yuè Node.js de API。

inglês chinês
hexo hexo
api api

EN Hexo supports two ways to write code block: Tag Plugin - Code Block and Tag Plugin - Backtick Code Block:

ZH Hexo 支持两种代码块写法——代码块标签插件反引号代码块标签插件:

Transliteração Hexo zhī chí liǎng zhǒng dài mǎ kuài xiě fǎ——dài mǎ kuài biāo qiān chā jiàn hé fǎn yǐn hào dài mǎ kuài biāo qiān chā jiàn:

inglês chinês
hexo hexo

EN Hexo supports two ways to write code block: Tag Plugin - Code Block and Tag Plugin - Backtick Code Block:

ZH Hexo 支持两种代码块写法——代码块标签插件反引号代码块标签插件:

Transliteração Hexo zhī chí liǎng zhǒng dài mǎ kuài xiě fǎ——dài mǎ kuài biāo qiān chā jiàn hé fǎn yǐn hào dài mǎ kuài biāo qiān chā jiàn:

inglês chinês
hexo hexo

EN A mother with two jobs and two kids uses Calendars 5 to keep her household organized and on time.

ZH 另一位有两个孩子且身兼数职的母亲说,Calendars 5 让她不再丢三落四。

Transliteração lìng yī wèi yǒu liǎng gè hái zi qiě shēn jiān shù zhí de mǔ qīn shuō,Calendars 5 ràng tā bù zài diū sān luò sì。

EN There are three default layouts in Hexo: post, page and draft. Files created by each of them is saved to a different path. Newly created posts are saved to the source/_posts folder.

ZH Hexo 有三种默认布局:post、page draft。在创建这三种不同类型的文件时,它们将会被保存到不同的路径;而您自定义的其他布局 post 相同,都将储存到 source/_posts 文件夹。

Transliteração Hexo yǒu sān zhǒng mò rèn bù jú:post、page hé draft。zài chuàng jiàn zhè sān zhǒng bù tóng lèi xíng de wén jiàn shí, tā men jiāng huì bèi bǎo cún dào bù tóng de lù jìng; ér nín zì dìng yì de qí tā bù jú hé post xiāng tóng, dōu jiāng chǔ cún dào source/_posts wén jiàn jiā。

inglês chinês
hexo hexo

EN Drafts are not displayed by default. You can add the --draft option when running Hexo or enable the render_drafts setting in _config.yml to render drafts.

ZH 草稿默认不会显示在页面中,您可在执行时加上 --draft 参数,或是把 render_drafts 参数设为 true 来预览草稿。

Transliteração cǎo gǎo mò rèn bù huì xiǎn shì zài yè miàn zhōng, nín kě zài zhí xíng shí jiā shàng --draft cān shù, huò shì bǎ render_drafts cān shù shè wèi true lái yù lǎn cǎo gǎo。

EN When creating posts, Hexo will build files based on the corresponding file in scaffolds folder. For example:

ZH 在新建文章时,Hexo 会根据 scaffolds 文件夹内相对应的文件来建立文件,例如:

Transliteração zài xīn jiàn wén zhāng shí,Hexo huì gēn jù scaffolds wén jiàn jiā nèi xiāng duì yīng de wén jiàn lái jiàn lì wén jiàn, lì rú:

inglês chinês
hexo hexo

EN When you run this command, Hexo will try to find photo.md in the scaffolds folder and build the post based on it. The following placeholders are available in scaffolds:

ZH 在执行这行指令时,Hexo 会尝试在 scaffolds 文件夹中寻找 photo.md,并根据其内容建立文章,以下是您可以在模版中使用的变量:

Transliteração zài zhí xíng zhè xíng zhǐ lìng shí,Hexo huì cháng shì zài scaffolds wén jiàn jiā zhōng xún zhǎo photo.md, bìng gēn jù qí nèi róng jiàn lì wén zhāng, yǐ xià shì nín kě yǐ zài mó bǎn zhōng shǐ yòng de biàn liàng:

inglês chinês
hexo hexo

EN Hexo support posts written in any format, as long as the corresponding renderer plugin is installed.

ZH Hexo 支持以任何格式书写文章,只要安装了相应的渲染插件。

Transliteração Hexo zhī chí yǐ rèn hé gé shì shū xiě wén zhāng, zhǐ yào ān zhuāng le xiāng yīng de xuàn rǎn chā jiàn。

inglês chinês
hexo hexo

EN The third syntax is a Markdown’s fenced code block syntax and Hexo extends it to support more features. Check out Tag Plugin Docs to find out options available.

ZH 上面的第三种是 Markdown 的 fenced code block 语法。Hexo 对其进行了扩展,使其支持更多特性。在标签插件文档中你可以找到可用的选项。

Transliteração shàng miàn de dì sān zhǒng shì Markdown de fenced code block yǔ fǎ。Hexo duì qí jìn xíng le kuò zhǎn, shǐ qí zhī chí gèng duō tè xìng。zài biāo qiān chā jiàn wén dàng zhōng nǐ kě yǐ zhǎo dào kě yòng de xuǎn xiàng。

inglês chinês
hexo hexo

EN You can set the language of pages in front-matter, or modify the i18n_dir setting in _config.yml to enable automatic detection by Hexo.

ZH 您可在 front-matter 中指定该页面的语言,也可在 _config.yml 中修改 i18n_dir 设定,让 Hexo 自动侦测。

Transliteração nín kě zài front-matter zhōng zhǐ dìng gāi yè miàn de yǔ yán, yě kě zài _config.yml zhōng xiū gǎi i18n_dir shè dìng, ràng Hexo zì dòng zhēn cè。

inglês chinês
hexo hexo

EN The default value of i18n_dir setting is :lang, which means that Hexo will detect the language within the first segment of URL. For example:

ZH i18n_dir 的预设值是 :lang,也就是说 Hexo 会捕获网址中的第一段以检测语言,举例来说:

Transliteração i18n_dir de yù shè zhí shì :lang, yě jiù shì shuō Hexo huì bǔ huò wǎng zhǐ zhōng de dì yī duàn yǐ jiǎn cè yǔ yán, jǔ lì lái shuō:

inglês chinês
hexo hexo

EN Tip: Hexo support posts written in any format, so long the corresponding renderer plugin is installed. It can be in markdown, ejs, swig, nunjucks, pug, asciidoc, etc. Regardless of the format used, those three code block syntax will always be available.

ZH 提示:Hexo 支持用任何格式书写文章,只需安装相应渲染插件即可。不论文章以何种格式书写(Markdown、EJS、Swig、Nunjuck、Pug、ASCIIDoc),上述三种代码块语法总是可用。

Transliteração tí shì:Hexo zhī chí yòng rèn hé gé shì shū xiě wén zhāng, zhǐ xū ān zhuāng xiāng yīng xuàn rǎn chā jiàn jí kě。bù lùn wén zhāng yǐ hé zhǒng gé shì shū xiě (Markdown、EJS、Swig、Nunjuck、Pug、ASCIIDoc), shàng shù sān zhǒng dài mǎ kuài yǔ fǎ zǒng shì kě yòng。

inglês chinês
hexo hexo

EN The YAML above is Hexo’s default configuration.

ZH 以上为 Hexo 的默认配置。

Transliteração yǐ shàng wèi Hexo de mò rèn pèi zhì。

EN We welcome you to join the development of Hexo. This document will help you through the process.

ZH 我们非常欢迎您加入 Hexo 的开发,这份文件将帮助您了解开发流程。

Transliteração wǒ men fēi cháng huān yíng nín jiā rù Hexo de kāi fā, zhè fèn wén jiàn jiāng bāng zhù nín le jiě kāi fā liú chéng。

inglês chinês
hexo hexo

EN highlight.js is enabled by default and used as server-side highlighting in Hexo; it needs to be disabled if you prefer to run highlight.js on browser-side.

ZH highlight.js 默认开启,用作 Hexo 的服务端高亮组件。如果你需要在浏览器端运行 highlight.js,请把它关闭。

Transliteração highlight.js mò rèn kāi qǐ, yòng zuò Hexo de fú wù duān gāo liàng zǔ jiàn。rú guǒ nǐ xū yào zài liú lǎn qì duān yùn xíng highlight.js, qǐng bǎ tā guān bì。

inglês chinês
hexo hexo

EN Hexo adds line number by wrapping output inside <figure> and <table>:

ZH Hexo 通过用 <figure> <table> 包裹其代码块为其添加了行号显示支持:

Transliteração Hexo tōng guò yòng <figure> hé <table> bāo guǒ qí dài mǎ kuài wèi qí tiān jiā le xíng hào xiǎn shì zhī chí:

inglês chinês
hexo hexo

EN Hexo wraps the output inside <figure> and <table> to support line number. You need to disable both line_number and wrap to revert to highlight.js‘s behavior:

ZH 为了支持行号显示,Hexo 将输出包裹在了 <figure> <table> 内部。如果要保持 highlight.js 原来的行为,你需要将 line_number wrap 全部关闭。

Transliteração wèi le zhī chí xíng hào xiǎn shì,Hexo jiāng shū chū bāo guǒ zài le <figure> hé <table> nèi bù。rú guǒ yào bǎo chí highlight.js yuán lái de xíng wèi, nǐ xū yào jiāng line_number hé wrap quán bù guān bì。

inglês chinês
hexo hexo

EN Hexo’s built-in prismjs supports both browser-side (preprocess set to false) and server-side (preprocess set to true).

ZH Hexo 内建的 PrismJS 支持浏览器端高亮(preprocess 设置为 false)服务器端高亮(preprocess 设置为 true)两种方式。

Transliteração Hexo nèi jiàn de PrismJS zhī chí liú lǎn qì duān gāo liàng (preprocess shè zhì wèi false) hé fú wù qì duān gāo liàng (preprocess shè zhì wèi true) liǎng zhǒng fāng shì。

EN Line Numbers: Only prism-line-numbers.css is required, No need to include prism-line-numbers.js in your website. Hexo will generate required HTML mark up mark up for you.

ZH 行号显示:需要引入prism-line-numbers.css,无需引入prism-line-numbers.js。Hexo 将生成其所需的 HTML 代码片段。

Transliteração xíng hào xiǎn shì: xū yào yǐn rùprism-line-numbers.css, wú xū yǐn rùprism-line-numbers.js。Hexo jiāng shēng chéng qí suǒ xū de HTML dài mǎ piàn duàn。

inglês chinês
css css
hexo hexo
html html

EN Show Languages: Hexo will always have data-language attribute added as long as language is given for the code block.

ZH 语言显示:当代码块有标注语言时,Hexo 总会添加 data-language 属性。

Transliteração yǔ yán xiǎn shì: dāng dài mǎ kuài yǒu biāo zhù yǔ yán shí,Hexo zǒng huì tiān jiā data-language shǔ xìng。

inglês chinês
hexo hexo

EN Line Numbers: Hexo won’t generate required HTML mark up when preprocess is set to false. Requires both prism-line-numbers.css and prism-line-numbers.js.

ZH 行号显示:当 preprocess 设置为 false 时,Hexo 不会生成插件所需的 HTML 代码格式。prism-line-numbers.css prism-line-numbers.js均需被引入。

Transliteração xíng hào xiǎn shì: dāng preprocess shè zhì wèi false shí,Hexo bù huì shēng chéng chā jiàn suǒ xū de HTML dài mǎ gé shì。prism-line-numbers.css hé prism-line-numbers.js jūn xū bèi yǐn rù。

inglês chinês
hexo hexo
html html
css css

EN The source codes behind Hexo’s syntax highlighting are available in:

ZH Hexo 语法高亮部分的源码可参见:

Transliteração Hexo yǔ fǎ gāo liàng bù fēn de yuán mǎ kě cān jiàn:

EN Also, Hexo has its own ESLint config, so please make sure your contribution will make ESLint happy.

ZH 另外,Hexo 拥有自己的 ESLint 配置,因此请确保您的贡献能够通过 ESLint。

Transliteração lìng wài,Hexo yōng yǒu zì jǐ de ESLint pèi zhì, yīn cǐ qǐng què bǎo nín de gòng xiàn néng gòu tōng guò ESLint。

inglês chinês
hexo hexo

EN The Hexo documentation is open source and you can find the source code on hexojs/site.

ZH Hexo 文档开放源代码,您可以在 hexojs/site 找到源代码。

Transliteração Hexo wén dàng kāi fàng yuán dài mǎ, nín kě yǐ zài hexojs/site zhǎo dào yuán dài mǎ。

inglês chinês
hexo hexo

EN hexo.theme inherits from Box, and also saves templates.

ZH hexo.theme 除了继承 Box 外,还具有存储模板的功能。

Transliteração hexo.theme chú le jì chéng Box wài, hái jù yǒu cún chǔ mó bǎn de gōng néng。

inglês chinês
hexo hexo

EN When rendering a string, you must specify an engine to let Hexo know which rendering engine it should use.

ZH 在渲染字符串时,您必须指定 engine,如此一来 Hexo 才知道该使用哪个渲染引擎来渲染。

Transliteração zài xuàn rǎn zì fú chuàn shí, nín bì xū zhǐ dìng engine, rú cǐ yī lái Hexo cái zhī dào gāi shǐ yòng nǎ gè xuàn rǎn yǐn qíng lái xuàn rǎn。

inglês chinês
hexo hexo

EN The console forms the bridge between Hexo and its users. It registers and describes the available console commands.

ZH 控制台是 Hexo 与开发者之间沟通的桥梁。

Transliteração kòng zhì tái shì Hexo yǔ kāi fā zhě zhī jiān gōu tōng de qiáo liáng。

inglês chinês
hexo hexo

EN When you encounter some problems when using Hexo, you can find the solutions in Troubleshooting or ask me on GitHub or Google Group. If you can’t find the answer, please report it on GitHub.

ZH 当您在使用 Hexo 时遇到问题,您可以尝试在 问题解答 中寻找解答,或是在 GitHub 或 Google Group 上提问。如果你没有找答案,请在 Github 报告它。

Transliteração dāng nín zài shǐ yòng Hexo shí yù dào wèn tí, nín kě yǐ cháng shì zài wèn tí jiě dá zhōng xún zhǎo jiě dá, huò shì zài GitHub huò Google Group shàng tí wèn。rú guǒ nǐ méi yǒu zhǎo dá àn, qǐng zài Github bào gào tā。

inglês chinês
hexo hexo
github github
google google

EN When rendering a file, it’s not necessary to specify an engine because Hexo will detect the relevant rendering engine automatically based on the extension of the file. Of course, you are also allowed to explicitly define the engine.

ZH 在渲染文件时,您无须指定 engine,Hexo 会自动根据扩展名猜测所要使用的渲染引擎,当然您也可以使用 engine 指定。

Transliteração zài xuàn rǎn wén jiàn shí, nín wú xū zhǐ dìng engine,Hexo huì zì dòng gēn jù kuò zhǎn míng cāi cè suǒ yào shǐ yòng de xuàn rǎn yǐn qíng, dāng rán nín yě kě yǐ shǐ yòng engine zhǐ dìng。

inglês chinês
hexo hexo

EN Path. Hexo builds the post path based on the new_post_path setting by default.

ZH 路径。默认会根据 new_post_path 参数创建文章路径。

Transliteração lù jìng。mò rèn huì gēn jù new_post_path cān shù chuàng jiàn wén zhāng lù jìng。

EN The data must contain the content attribute. If not, Hexo will try to read the original file. The execution steps of this function are as follows:

ZH 资料中必须包含 content 属性,如果没有的话,会尝试读取原始文件。此函数的执行顺序为:

Transliteração zī liào zhōng bì xū bāo hán content shǔ xìng, rú guǒ méi yǒu de huà, huì cháng shì dú qǔ yuán shǐ wén jiàn。cǐ hán shù de zhí xíng shùn xù wèi:

EN When rendering is complete, Hexo will execute the corresponding after_render filters. For example, we can use this feature to implement a JavaScript minifier.

ZH 在渲染完成后,Hexo 会自动执行相对应的 after_render 过滤器,举例来说,我们可以通过这个功能实现 JavaScript 的压缩。

Transliteração zài xuàn rǎn wán chéng hòu,Hexo huì zì dòng zhí xíng xiāng duì yīng de after_render guò lǜ qì, jǔ lì lái shuō, wǒ men kě yǐ tōng guò zhè gè gōng néng shí xiàn JavaScript de yā suō。

inglês chinês
hexo hexo
javascript javascript

EN A migrator helps users migrate from other systems to Hexo.

ZH 迁移器帮助开发者从其他系统迁移到 Hexo

Transliteração qiān yí qì bāng zhù kāi fā zhě cóng qí tā xì tǒng qiān yí dào Hexo。

inglês chinês
hexo hexo

EN Since the introduction of asynchronous rendering in Hexo 3, we are using Nunjucks for rendering. The behavior may be somewhat different from that in Swig.

ZH Hexo 3 开始,因为新增了非同步渲染功能,而改用 Nunjucks 作为渲染引擎,其行为可能会与过去使用的 Swig 有些许差异。

Transliteração cóng Hexo 3 kāi shǐ, yīn wèi xīn zēng le fēi tóng bù xuàn rǎn gōng néng, ér gǎi yòng Nunjucks zuò wèi xuàn rǎn yǐn qíng, qí xíng wèi kě néng huì yǔ guò qù shǐ yòng de Swig yǒu xiē xǔ chà yì。

inglês chinês
hexo hexo

EN When rendering a string, you must specify an engine to let Hexo know which rendering engine it should use.

ZH 在渲染字符串时,您必须指定 engine,如此一来 Hexo 才知道该使用哪个渲染引擎来渲染。

Transliteração zài xuàn rǎn zì fú chuàn shí, nín bì xū zhǐ dìng engine, rú cǐ yī lái Hexo cái zhī dào gāi shǐ yòng nǎ gè xuàn rǎn yǐn qíng lái xuàn rǎn。

inglês chinês
hexo hexo

EN When rendering a file, it’s not necessary to specify an engine because Hexo will detect the relevant rendering engine automatically based on the extension of the file. Of course, you are also allowed to explicitly define the engine.

ZH 在渲染文件时,您无须指定 engine,Hexo 会自动根据扩展名猜测所要使用的渲染引擎,当然您也可以使用 engine 指定。

Transliteração zài xuàn rǎn wén jiàn shí, nín wú xū zhǐ dìng engine,Hexo huì zì dòng gēn jù kuò zhǎn míng cāi cè suǒ yào shǐ yòng de xuàn rǎn yǐn qíng, dāng rán nín yě kě yǐ shǐ yòng engine zhǐ dìng。

inglês chinês
hexo hexo

EN When rendering is complete, Hexo will execute the corresponding after_render filters. For example, we can use this feature to implement a JavaScript minifier.

ZH 在渲染完成后,Hexo 会自动执行相对应的 after_render 过滤器,举例来说,我们可以通过这个功能实现 JavaScript 的压缩。

Transliteração zài xuàn rǎn wán chéng hòu,Hexo huì zì dòng zhí xíng xiāng duì yīng de after_render guò lǜ qì, jǔ lì lái shuō, wǒ men kě yǐ tōng guò zhè gè gōng néng shí xiàn JavaScript de yā suō。

inglês chinês
hexo hexo
javascript javascript

EN You can set the language of pages in front-matter, or modify the i18n_dir setting in _config.yml to enable automatic detection by Hexo.

ZH 您可在 front-matter 中指定该页面的语言,也可在 _config.yml 中修改 i18n_dir 设定,让 Hexo 自动侦测。

Transliteração nín kě zài front-matter zhōng zhǐ dìng gāi yè miàn de yǔ yán, yě kě zài _config.yml zhōng xiū gǎi i18n_dir shè dìng, ràng Hexo zì dòng zhēn cè。

inglês chinês
hexo hexo

Mostrando 50 de 50 traduções