Skip to content

Instantly share code, notes, and snippets.

@alay9999
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alay9999/886477f4ac56b48ed201 to your computer and use it in GitHub Desktop.
Save alay9999/886477f4ac56b48ed201 to your computer and use it in GitHub Desktop.
<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=&quot;https://gist.github.com/anonymous/5894938.js&quot;></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