我有一张Xaringan幻灯片,如下所示:
---
title: "Xaringan test"
output:
xaringan::moon_reader:
self_contained: false
chakra: 'assets/remark-latest.min.js'
css: 'assets/presentation.css'
---
### This is a heading
This is some text and numbers 01235.
`Here is some inline cod
我正在为wordpress做一个插件。我正在动态地将字体加载到tinymce
//load font to iframe
function loadFontFace(fontId)
{
var iframe = jQ('#content_ifr').contents();
var head = iframe[0].getElementsByTagName('head')[0];
var linkElement = jQ(document.createElement('link'));
linkElement.at
我刚刚安装了一个自定义的WordPress主题(这是我第一次使用WordPress,所以我仍然在学习很多东西),我需要使博客的字体与网站其余部分的字体相匹配,这是一个谷歌网络字体。
我转到WordPress仪表板中自定义主题的样式表编辑器,并通过@import添加字体。所以它现在看起来是这样的:
/* Make all custom CSS changes BELOW this line
-----------------------------------------------------------*/
@import url("http://fonts.googleapis.
我刚才偷看了一个网页的源代码。
我注意到有一个CSS规则,它为一些漂亮的副标题定义了一种罕见的字体。
Html (源文件)
<h2><em><span style="color:#333">Model your workflow to fail fast.</span></em></h2>
CSS (源文件)
...
h2 em {
font-family: MarydaleBold;
font-style: normal;
font-weight: normal;
let