mdpress(MarkDown Press)を使ったプレゼンテーション作成

  • 615 views
Uploaded on

mdpressというMarkDown文書からプレゼンテーションを生成するgemの紹介です。

mdpressというMarkDown文書からプレゼンテーションを生成するgemの紹介です。

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
615
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
1
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Prezi ver. 0.8
  • 2. PREZI SlideShare
  • 3. MARKDOWN mdpress gem $  mdpress  readme.md readme index.html
  • 4. #  Chicken  Chicken  Chicken ##  By  Chicken -­-­-­ #  Chicken -­  Chicken -­  Chicken  Chicken
  • 5. Chicken Chicken Chicken BY CHICKEN
  • 6. Chicken Chicken Chicken Chicken
  • 7. MDPRESS Markdown LT LT Qiita
  • 8. RUBY configure  :production  do    set  :cache,  Dalli::Client.new(        ENV['MEMCACHE_SERVERS'],        :username  =>  ENV['MEMCACHE_USERNAME'],        :password  =>  ENV['MEMCACHE_PASSWORD'],        :expires_in  =>  60  *  30    ) end
  • 9. OBJECTIVE-C NSBundle*  bundle  =  [NSBundle  mainBundle];; NSString*  path  =  [bundle  pathForResource:@"Questions"  ofType:@"plist" questions  =  [NSArray  arrayWithContentsOfFile:path];; QuestionsMax  =  questions.count;; for(NSDictionary*  question  in  questions)  {        NSLog(@"question:%@",  [question  objectForKey:@"Question"]);;        NSLog(@"answer:%@",  [question  objectForKey:@"CorrectAnswer"]);;        NSLog(@"incorrect  answer:%@",  [question  objectForKey:@"IncorrectAnsw        NSLog(@"backgroundImage:%@",  [question  objectForKey:@"backgroundImag }
  • 10. GitHub Pages
  • 11. 1. Markdown 2. $  mdpress  readme.md readme 3. origin push 4. Setting -> GitHub Pages GitHub Pages 5. gh-pages GitHub 6. pull gh-pages 7. $  git  checkout  gh-­pages 8. $  cp  -­rf  readme/*  . 9. $  git  push  -­u  origin  gh-­pages 10. $  git  push 2
  • 12. DEMO
  • 13. diff (Markdown) (HTML) Qiita LT
  • 14. 1. [origin] origin 2. [origin] Markdown 3. [origin] Markdown 4. [origin] git push 5. [origin] mdpress 6. [gh-pages] gh-pages 7. [gh-pages] 8. [gh-pages] git push 9. [origin] origin
  • 15. PUSH.SH #  レポジトリに入る #  フォルダ名は引数にしたい cd  140127-­2013-­soukatsu-­2014-­houshin #  Markdownをpush git  add  . git  commit  -­m  "commited  automatically  by  push.sh" git  push #  mdpressコマンドでreadmeフォルダを生成 cd  .. mdpress  140127-­2013-­soukatsu-­2014-­houshin/readme.md #  gh-­pagesブランチに切り替える cd  140127-­2013-­soukatsu-­2014-­houshin git  checkout  gh-­pages
  • 16. #  先ほど生成したreadmeフォルダの中身をレポジトリにコピーする cp  -­rf  ../readme/*  . #  自動的にcommit+push git  add  . git  commit  -­m  "commited  automatically  by  push.sh" git  push #  originブランチに戻す git  checkout  master #  元いたディレクトリに戻る cd  ..
  • 17. Prezi