GouTP @ SCEE About Markdown and MediaWiki Lilian Besson SCEE Team, - - PowerPoint PPT Presentation

goutp scee
SMART_READER_LITE
LIVE PREVIEW

GouTP @ SCEE About Markdown and MediaWiki Lilian Besson SCEE Team, - - PowerPoint PPT Presentation

GouTP @ SCEE About Markdown and MediaWiki Lilian Besson SCEE Team, IETR, CentraleSuplec, Rennes February 23th, 2017 GouTP Markdown GouTP @ SCEE About: Markdown: concept, syntax, tools Wiki & MediaWiki Date: 23 Feb 2017 Who: Lilian


slide-1
SLIDE 1

GouTP @ SCEE

About Markdown and MediaWiki Lilian Besson

SCEE Team, IETR, CentraleSupélec, Rennes

February 23th, 2017

slide-2
SLIDE 2

GouTP Markdown

GouTP @ SCEE

About:

Markdown: concept, syntax, tools Wiki & MediaWiki

Date: 23 Feb 2017 Who: Lilian Besson, lilian.besson@supelec

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 2 / 12

slide-3
SLIDE 3

GouTP Markdown

Outline

0 Intro: markup languages 1 Markdown

Syntax, examples Experiment with Markdown ! 2 tools: demo of Typora and Marp Pro tool : pandoc (another GouTP)

2 MediaWiki

For Wikipedia, and our internal SCEE Wiki

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 3 / 12

slide-4
SLIDE 4

GouTP Markdown

Intro: why using markup languages?

Facts LaTeX and HTML can be painful to write manually Hard to read and parse for a human, and need a learning time Solution ? Use a markup language as simple as possible For many use, a lightweight markup language is enough:

1

write simple text with light markup

2

convert the text to PDF, LaTeX, HTML etc.

Example: Wikipedia pages are not written in HTML ...

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 4 / 12

slide-5
SLIDE 5

GouTP Markdown

  • 1. Markdown

Close to the “natural” syntax we use in emails Emphasis: *italic*, **bold**, Lists: unumbered with - item, numbered with 1. item Titles: # Title 1, ## Heading 2, ### Heading 3 etc Links: [text](address) and image: ![alt](cat.png) Quote: like emails, > quote ...

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 5 / 12

slide-6
SLIDE 6

GouTP Markdown

Example of Markdown output

Heading 2 Emphasis: italic, bold, Lists, one item by line:

1

unnumbered with - item

2

numbered with 1. item

Heading 3 Links: commonmark.org and image: Quote: like emails, > quote ...

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 6 / 12

slide-7
SLIDE 7

GouTP Markdown

Markdown tutorial

No official reference for the syntax, but the best reference is CommonMark (CommonMark.org) Markup reference: CommonMark.org/help 5 minutes tutorial: CommonMark.org/help/tutorial − → Let’s do it now! There is plenty of syntax extensions: for tables, footnotes, etc

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 7 / 12

slide-8
SLIDE 8

GouTP Markdown

Demo time: Typora for notes

Markdown document writer: typora.io

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 8 / 12

slide-9
SLIDE 9

GouTP Markdown

Demo time: Marp for slides

Markdown presentation writer, free and open-source: yhatt.github.io/marp

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 9 / 12

slide-10
SLIDE 10

GouTP Markdown

Marp: Features

Free and open-source Slides are written in pure Markdown. Cross-platform. Supports Windows, Mac, and Linux Live Preview with 3 modes Slide themes and custom background images Supports emoji Render maths in your slides: eiπ = −1 Export your slides to PDF

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 10 / 12

slide-11
SLIDE 11

GouTP Markdown

  • 2. MediaWiki

A Wiki tool, free and open-source, powering Wikipedia − → mediawiki.org Syntax very close to Markdown, only small differences Used internally @ SCEE for our MediaWiki: demo time ! MediaWiki on WS4 (− → HP-SCEE-1, IP: 172.16.3.80) Log in, edit a page, save it − → Let’s try it now!

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 11 / 12

slide-12
SLIDE 12

GouTP Markdown

Conclusion

I hope you learned how to use Markdown & MediaWiki Now... use it ! Try to edit our SCEE MediaWiki, if you want to add content If you are curious about a more complete use of Markdown, try to practice with it, and wait for next GouTP on Advanced Markdown with pandoc ! Thanks for coming!

Lilian Besson (IETR) GouTP @ SCEE February 23th, 2017 12 / 12