White Paper is a theme for Jekyll. It is made keeping content in focus and is best for writers/developers who also like to share code with their essays.
jekyll-compose
gem is now installed with jekyll so now creating a new post is as easy as running this simple command
# ensure all the required bundles are installed
bundle install
bundle exec jekyll post "Tooling Considered Harmful"
Configuration file: /Users/vinitkumar/projects/vinitkumar.github.com/_config.yml
New post created at _posts/2019-03-06-tooling-considered-harmful.md
$ git status
Untracked files:
(use "git add <file>..." to include in what will be committed)
_posts/2019-03-06-tooling-considered-harmful.md
Fork the repo to your account by clicking the button on the top right as shown in the image:
and then where you want to fork it as shown below.
Next, Go the the project settings and change the repository name to <username>.github.io
where username is your username.
Change these entries in the _config.yml
file:
Also, change this line in head.html link
<!-- From this -->
<link rel="stylesheet" href=" {{ '/css/main.min.css' | relative_url }}" type="text/css" />
<!-- To this -->
<link rel="stylesheet" href=" {{ '/css/main.min.css' | absolute_url }}" type="text/css" />
This will make sure that the path of CSS is correct and the theme loads correctly.
master_repo: false
url: "<username>.github.io"
rtl: false # change to true if posts is in Arabic/other Right to left language.
Also, change all other fields in the _config.yml
file to your choice.
This theme requires you to install couple of tools first to setup jekyll locally.
git clone git@github.com:vinitkumar/white-paper.git
# If you have ruby installed.
gem install jekyll bundler
# If you have node installed.
npm install
sudo npm install -g grunt-cli #to get the task runner for grunt.
bundle install
jekyll serve
# on running the serve script, the site will be live on
http://127.0.0.1:4000
This theme uses grunt to concat & minify the css for best performance. In order to prepare the css build. Run grunt
It will create a main.min.css file in the css folder.
This theme also provides syntax highlighting in different theme. Inside css folder, there is a syntax folder.
.
├── emacs.css
├── github.css
├── monokai.css
├── native.css
├── syntax.css
└── vim.css
Now in the gruntfiles.js
concat: {
dist: {
src: [
'css/base.css',
'css/sytax/emacs.css', // change this to another theme if you prefer, like vim.css and run grunt
'css/octicons.css'
],
dest: 'css/<%= pkg.name %>.add.css'
}
}
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
White 是博客 CMS 系统,基于 Anchor-cms,使用 Python 编写。White 包括大部分 achor-cms 的特性,其他特性: 写博客使用 markdown 自定义字段扩展 自定义主题 多国语言支持 RSS订阅 一些mananger监视器API 数据库连接池 记忆缓存 利用Flask和Jinjia2
描述 (Description) white-space属性用于更改用户代理处理元素中的空格。 可能的值 (Possible Values) normal - 元素中的任何空格序列都将转换为单个空格。 pre - 元素中的所有空格都被尊重,包括多个空格和回车。 nowrap - 元素中的任何空格序列都将转换为单个空格,但禁用自动换行。 适用于 (Applies to) 所有块级元素。 DOM语法
White Elephant 是一个 Hadoop 的日志聚合器和操作面板,可对 Hadoop 集群进行可视化监控。目前还不支持 Hadoop 2.0 版本。
当甲骨文将OpenOffice.org捐给了Apache软件基金会,然而OpenOffice.org分裂之势已然形成。The Document Foundation. 的LibreOffice抢过了“正版”OpenOffice.org的劲头,它的发展也比成为Apache孵化器项目的OOo更快,LibreOffice的最新版本是 3.4.4,正在开发3.5。而Apache OpenOffice.or
White HTML Filter 简介 XSS是什么就不介绍了,很多时候因为老板的需求之类的,必须用到UEditor之类的HTML富文本编辑器,这时候XSS防御就很重要了。 很多人会选择用strip_tags()之类的来去除HTML标记,但是去除了标签,还有onclick之类的危险属性。而且过滤了属性,对于必须通过iframe插入HTML5视频的情况,还要过滤属性的值。 一个常见做法是用正则表达
本文向大家介绍word-wrap、word-break和white-space有什么区别?相关面试题,主要包含被问及word-wrap、word-break和white-space有什么区别?时的应答技巧和注意事项,需要的朋友参考一下 :现在改为了;用于控制单词在超出其包裹元素时是否中断单词换行; :用于处理元素中的空白符号(包括空格,换行符,制表符,元素,文字自然换行); :用于控制单词在换行时