新建文章 $ hexo new <p>$ hexo new "Hexo指令"</p> </article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://youyouhangyong.github.io">youyouhangyong</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://youyouhangyong.github.io/2023/07/03/Front-matter%E7%A4%BA%E4%BE%8B/">https://youyouhangyong.github.io/2023/07/03/Front-matter%E7%A4%BA%E4%BE%8B/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://youyouhangyong.github.io" target="_blank">悠攸涵泳</a>!</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/Markdown/">Markdown</a><a class="post-meta__tags" href="/tags/Hexo/">Hexo</a></div><div class="post_share"><div class="social-share" data-image="https://s21.ax1x.com/2024/08/28/pAACWeH.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2023/06/30/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E8%AF%BE%E7%A8%8B%E5%AE%9E%E4%B9%A0/" title="数据结构实习"><img class="cover" src="https://s21.ax1x.com/2024/08/28/pAACWeH.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">数据结构实习</div></div></a></div><div class="next-post pull-right"><a href="/2023/07/16/%E7%BA%BF%E6%80%A7%E5%9B%9E%E5%BD%92/" title="线性回归"><img class="cover" src="https://s21.ax1x.com/2024/08/28/pAACWeH.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">线性回归</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/2024/08/22/%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA3D%E6%A8%A1%E5%9E%8B%E5%9C%A8%E8%87%AA%E5%B7%B1%E5%8D%9A%E5%AE%A2%E9%87%8C/" title="创建一个3D模型在自己博客里"><img class="cover" src="https://s21.ax1x.com/2024/08/28/pAACWeH.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2024-08-22</div><div class="title">创建一个3D模型在自己博客里</div></div></a></div></div></div><hr class="custom-hr"/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="gitalk-container"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://s21.ax1x.com/2024/08/28/pAAMLo6.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">youyouhangyong</div><div class="author-info__description">基于Hexo的个人博客</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">12</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">13</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">6</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/youyouhangyong"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/youyouhangyong" target="_blank" title="Github"><i class="fab fa-github" style="color: #24292e;"></i></a><a class="social-icon" href="mailto:youyouhangyong@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope" style="color: #4a7dbe;"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">这是我的博客</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2024/09/05/Redis%E7%9F%A5%E8%AF%86%E7%82%B9/" title="Redis知识点">Redis知识点</a><time datetime="2024-09-05T05:51:01.000Z" title="发表于 2024-09-05 13:51:01">2024-09-05</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2024/08/22/%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA3D%E6%A8%A1%E5%9E%8B%E5%9C%A8%E8%87%AA%E5%B7%B1%E5%8D%9A%E5%AE%A2%E9%87%8C/" title="创建一个3D模型在自己博客里">创建一个3D模型在自己博客里</a><time datetime="2024-08-22T08:19:17.000Z" title="发表于 2024-08-22 16:19:17">2024-08-22</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2024/08/21/Perlin%E5%99%AA%E5%A3%B0/" title="Perlin噪声">Perlin噪声</a><time datetime="2024-08-21T11:52:00.000Z" title="发表于 2024-08-21 19:52:00">2024-08-21</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2024/08/13/%E4%BD%BF%E7%94%A8Unity%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E7%B1%BB%E4%BC%BCMC%E7%9A%84%E6%B8%B8%E6%88%8F%E5%9C%BA%E6%99%AF%EF%BC%88%E4%B8%80%EF%BC%89/" title="使用Unity创建一个类似MC的游戏场景(一)">使用Unity创建一个类似MC的游戏场景(一)</a><time datetime="2024-08-13T11:58:37.000Z" title="发表于 2024-08-13 19:58:37">2024-08-13</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2023/07/29/%E5%9B%BE%E5%83%8F%E8%A1%A8%E7%A4%BA%E5%92%8C%E5%9B%BE%E5%83%8F%E5%A2%9E%E5%BC%BA%EF%BC%88%E4%BA%8C%EF%BC%89/" title="图像表示和图像增强(二)">图像表示和图像增强(二)</a><time datetime="2023-07-29T05:44:48.000Z" title="发表于 2023-07-29 13:44:48">2023-07-29</time></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://s21.ax1x.com/2024/08/28/pAACWeH.jpg')"><div id="footer-wrap"><div class="copyright">©2020 - 2024 By youyouhangyong</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div><!-- 在footer中插入Three.js渲染容器--><div id="threejs-container" style="position: fixed; bottom: 30px; right: 45px; width: 200px; height: 300px; z-index: 1000;"></div><!-- CSS to hide on mobile devices--><style>@media only screen and (max-width: 810px) { #threejs-container { display: none; } }</style></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><div class="js-pjax"><script>if (!window.MathJax) { window.MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']], tags: 'ams' }, chtml: { scale: 1.1 }, options: { renderActions: { findScript: [10, doc => { for (const node of document.querySelectorAll('script[type^="math/tex"]')) { const display = !!node.type.match(/; *mode=display/) const math = new doc.options.MathItem(node.textContent, doc.inputJax[0], display) const text = document.createTextNode('') node.parentNode.replaceChild(text, node) math.start = {node: text, delim: '', n: 0} math.end = {node: text, delim: '', n: 0} doc.math.push(math) } }, ''] } } } const script = document.createElement('script') script.src = 'https://cdn.jsdelivr.net/npm/mathjax/es5/tex-mml-chtml.min.js' script.id = 'MathJax-script' script.async = true document.head.appendChild(script) } else { MathJax.startup.document.state(0) MathJax.texReset() MathJax.typesetPromise() }</script><script>(() => { const $mermaid = document.querySelectorAll('#article-container .mermaid-wrap') if ($mermaid.length === 0) return const runMermaid = () => { window.loadMermaid = true const theme = document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'default' Array.from($mermaid).forEach((item, index) => { const mermaidSrc = item.firstElementChild const mermaidThemeConfig = '%%{init:{ \'theme\':\'' + theme + '\'}}%%\n' const mermaidID = 'mermaid-' + index const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent const renderFn = mermaid.render(mermaidID, mermaidDefinition) const renderV10 = () => { renderFn.then(({svg}) => { mermaidSrc.insertAdjacentHTML('afterend', svg) }) } const renderV9 = svg => { mermaidSrc.insertAdjacentHTML('afterend', svg) } typeof renderFn === 'string' ? renderV9(renderFn) : renderV10() }) } const loadMermaid = () => { window.loadMermaid ? runMermaid() : getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(runMermaid) } btf.addModeChange('mermaid', runMermaid) window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid) })()</script><script>function loadGitalk () { function initGitalk () { var gitalk = new Gitalk(Object.assign({ clientID: 'Ov23liRsJAReKYp82PlK', clientSecret: '2505424005b7ae52370c43109ef95e6b2829e4f9', repo: 'youyouhangyong.github.io', owner: 'youyouhangyong', admin: ['youyouhangyong'], id: '1adb51b764c807cd44d7373988c1e17e', updateCountCallback: commentCount },null)) gitalk.render('gitalk-container') } if (typeof Gitalk === 'function') initGitalk() else { getCSS('https://cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.css') getScript('https://cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js').then(initGitalk) } } function commentCount(n){ let isCommentCount = document.querySelector('#post-meta .gitalk-comment-count') if (isCommentCount) { isCommentCount.textContent= n } } if ('Gitalk' === 'Gitalk' || !true) { if (true) btf.loadComment(document.getElementById('gitalk-container'), loadGitalk) else loadGitalk() } else { function loadOtherComment () { loadGitalk() } }</script></div><script async data-pjax src="/static/js/threejs-model.js"></script><script async src="/js/prism/prism.js"></script><div class="aplayer no-destroy" data-id="12537695373" data-server="netease" data-type="playlist" data-fixed="true" data-autoplay="true" data-lrcType="-1"> </div><script defer="defer" id="fluttering_ribbon" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-fluttering-ribbon.min.js"></script><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful = true; POWERMODE.shake = true; POWERMODE.mobile = true; document.body.addEventListener('input', POWERMODE); </script><script id="click-show-text" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/click-show-text.min.js" data-mobile="true" data-text="富强,民主,文明,和谐,自由,平等,公正,法治,爱国,敬业,诚信,友善" data-fontsize="15px" data-random="true" async="async"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/metingjs/dist/Meting.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors = ["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"] var pjax = new Pjax({ elements: 'a:not([target="_blank"])', selectors: pjaxSelectors, cacheBust: false, analytics: false, scrollRestoration: false }) document.addEventListener('pjax:send', function () { // removeEventListener scroll window.tocScrollFn && window.removeEventListener('scroll', window.tocScrollFn) window.scrollCollect && window.removeEventListener('scroll', scrollCollect) document.getElementById('rightside').style.cssText = "opacity: ''; transform: ''" if (window.aplayers) { for (let i = 0; i < window.aplayers.length; i++) { if (!window.aplayers[i].options.fixed) { window.aplayers[i].destroy() } } } typeof typed === 'object' && typed.destroy() //reset readmode const $bodyClassList = document.body.classList $bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode') typeof disqusjs === 'object' && disqusjs.destroy() }) document.addEventListener('pjax:complete', function () { window.refreshFn() document.querySelectorAll('script[data-pjax]').forEach(item => { const newScript = document.createElement('script') const content = item.text || item.textContent || item.innerHTML || "" Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value)) newScript.appendChild(document.createTextNode(content)) item.parentNode.replaceChild(newScript, item) }) GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update() typeof panguInit === 'function' && panguInit() // google analytics typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname}); // baidu analytics typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]); typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting() // prismjs typeof Prism === 'object' && Prism.highlightAll() }) document.addEventListener('pjax:error', (e) => { if (e.request.status === 404) { pjax.loadUrl('/404.html') } })</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>