• 转到主导航栏
  • 转到内容
  • 转到底部
乔治PM爱编程 乔治PM爱编程 制造一些他人喜欢的东西,需要产品经理懂得造什么,以及程序员用什么技术造出来
  • 首页
  • 归档
  • 关于
  • Quick-Start Guide
    1. 首页
    2. /
    3. Blog
    4. /
    5. Post: Notice
    delete by George on 2023-10-25, according to https://github.com/SamouczekProgramisty/samouczekprogramisty.github.io/commit/9f9c082568226b3b123bfd868bb3bee86e6960c5?diff=split -->

    Post: Notice

    1 分钟阅读

    A notice displays information that explains nearby content. Often used to call attention to a particular detail.

    When using Kramdown {: .notice} can be added after a sentence to assign the .notice to the <p></p> element.

    Changes in Service: We just updated our privacy policy here to better service our customers. We recommend reviewing the changes.

    Primary Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.

    Info Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.

    Warning Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.

    Danger Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.

    Success Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.

    Want to wrap several paragraphs or other elements in a notice? Using Liquid to capture the content and then filter it with markdownify is a good way to go.

    {% capture notice-2 %}
    #### New Site Features
    
    * You can now have cover images on blog pages
    * Drafts will now auto-save while writing
    {% endcapture %}
    
    <div class="notice">{{ notice-2 | markdownify }}</div>
    

    New Site Features

    • You can now have cover images on blog pages
    • Drafts will now auto-save while writing

    Or you could skip the capture and stick with straight HTML.

    <div class="notice">
      <h4>Message</h4>
      <p>A basic message.</p>
    </div>
    

    Message

    A basic message.

    分类: Blog

    更新时间: 2010-02-05 00:00:00

    上一页 下一页

    猜您还喜欢

    岗位精选

    2024-04-16 01:00:00 1 分钟阅读

    测试工程师

    管理某网站内容

    2024-04-01 04:30:00 少于 1 分钟阅读

    简介

    在Mac上重装软件

    2024-02-04 13:42:00 少于 1 分钟阅读

    安装Office 2021

    农行取消电费扣费

    少于 1 分钟阅读

    农行取消电费扣费 – 2023/11/21

    • 关注:
    • GitHub
    © 2024 George Donne. 技术来自于 Jekyll & Minimal Mistakes.