Permalink
Browse files

use sublime method to open http file

  • Loading branch information...
1 parent b1f0bec commit ec71c94a1c1ba224d604b89ce6f525e965d0ffce @erinata committed Apr 3, 2012
Showing with 9 additions and 5 deletions.
  1. +2 −1 MarkdownBuild.py
  2. +2 −2 README.md
  3. +1 −1 messages.json
  4. +0 −1 messages/0.1.0.txt
  5. +4 −0 messages/0.2.0.txt
View
@@ -26,4 +26,5 @@ def run(self):
output = tempfile.NamedTemporaryFile(delete=False, suffix='.html')
output.write(html.encode('UTF-8'))
output.close()
- os.system(output.name)
+ self.window.run_command('open_url', {"url": output.name})
+
View
@@ -1,10 +1,10 @@
-# Sublime Markdown (version 0.1.0)
+# Sublime Markdown (version 0.2.0)
This is a Sublime Text plugin for building markdown.
## Installation
-1. Download the package from https://github.com/downloads/erinata/SublimeMarkdown/SublimeMarkdownBuild-0.1.0.zip
+1. Download the package from https://github.com/downloads/erinata/SublimeMarkdown/SublimeMarkdownBuild-0.2.0.zip
2. Extract the folder SublimeMarkdownBuild
3. Copy the SublimeMarkdownBuild folder to the package folder of SublimeText 2
View
@@ -1,3 +1,3 @@
{
- "0.1.0": "messages/0.1.0.txt"
+ "0.2.0": "messages/0.2.0.txt"
}
View
@@ -1 +0,0 @@
-SublimeMarkdownBuild 0.1.0
View
@@ -0,0 +1,4 @@
+SublimeMarkdownBuild 0.2.0
+
+- Use github like CSS
+- Use Sublime method to open the html (So the the console window is suppressed)

0 comments on commit ec71c94

Please sign in to comment.