Last active
August 29, 2015 14:05
-
-
Save alay9999/886477f4ac56b48ed201 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="codeWarp"> | |
<h1>粘贴代码的方法</h1> | |
<ul> | |
<li>在 <a href="https://gist.github.com/">https://gist.github.com/</a> 写入代码;</li> | |
<li>点击右下角的 Create public Gist 按钮;</li> | |
<li>在发布成功的页面右侧找到 Embed URL,并复制其中内容;</li> | |
<li>获得代码状如 :<input type="text" size="80" value="<script src="https://gist.github.com/anonymous/5894938.js"></script>"></li> | |
<li>删除头尾变成如下格式 :https://gist.github.com/anonymous/5894938</li> | |
<li>也可以说是获取代码中的链接地址,然后去掉 .js 后缀</li> | |
<li>然后把获取到的,状如:https://gist.github.com/anonymous/5894938 的地址粘贴到 V2EX 的编辑框即可</li> | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment