From 6ad20175686002a5c7c3cc68526590c1101e6191 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 13 Aug 2013 17:19:22 +0400 Subject: [PATCH 1/2] Add basic github-flavored markdown syntax highlighting to README.mkd --- README.mkd | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/README.mkd b/README.mkd index 7baccf9..b111160 100644 --- a/README.mkd +++ b/README.mkd @@ -42,16 +42,18 @@ Type ("\_" is the cursor position): Then type "\," (Ctrl + y + ','), you should see: - - - - - - - - _ - - +~~~html + + + + + + + + _ + + +~~~ [More Tutorials](https://raw.github.com/mattn/emmet-vim/master/TUTORIAL) @@ -61,9 +63,11 @@ Then type "\," (Ctrl + y + ','), you should see: If you don't want to enable emmet in all modes, you can use set these options in `vimrc`: - let g:user_emmet_mode='n' "only enable normal mode functions. - let g:user_emmet_mode='inv' "enable all functions, which is equal to - let g:user_emmet_mode='a' "enable all function in all mode. +~~~vim +let g:user_emmet_mode='n' "only enable normal mode functions. +let g:user_emmet_mode='inv' "enable all functions, which is equal to +let g:user_emmet_mode='a' "enable all function in all mode. +~~~ ## Project Authors From 4ab27087f9ffbe203d219d6ad2bb3623007d6e78 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 13 Aug 2013 17:29:29 +0400 Subject: [PATCH 2/2] Backticks for code blocks --- README.mkd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.mkd b/README.mkd index b111160..35d350e 100644 --- a/README.mkd +++ b/README.mkd @@ -42,7 +42,7 @@ Type ("\_" is the cursor position): Then type "\," (Ctrl + y + ','), you should see: -~~~html +```html @@ -53,7 +53,7 @@ Then type "\," (Ctrl + y + ','), you should see: _ -~~~ +``` [More Tutorials](https://raw.github.com/mattn/emmet-vim/master/TUTORIAL) @@ -63,11 +63,11 @@ Then type "\," (Ctrl + y + ','), you should see: If you don't want to enable emmet in all modes, you can use set these options in `vimrc`: -~~~vim +```vim let g:user_emmet_mode='n' "only enable normal mode functions. let g:user_emmet_mode='inv' "enable all functions, which is equal to let g:user_emmet_mode='a' "enable all function in all mode. -~~~ +``` ## Project Authors