最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - naming and configuring jsfiddle - Stack Overflow

programmeradmin2浏览0评论

This is going to sound like a really stupid question to whoever knows the answer!

When I create a JSfiddle it appears on my listing page like this

cGzCe Revision 8

Then I title it 'Multi-create nodes ' (extra space since the revision number is added with no space to this phrase) and update again and get this

cGzCe Multi-create nodes Revision 9

I want to alter the text of the cGzCe in the larger font - where can I do that? I forked someone else's fiddle the other day and it had this done, but I couldn't see how the settings differed from one of my fiddles! Help please :-D

...

Also, for a bonus point - does anyone know how to disable the auto-indenting... (or make it work reliably, or lower the indent to two spaces..)

Thanks!

This is going to sound like a really stupid question to whoever knows the answer!

When I create a JSfiddle it appears on my listing page like this

cGzCe Revision 8

Then I title it 'Multi-create nodes ' (extra space since the revision number is added with no space to this phrase) and update again and get this

cGzCe Multi-create nodes Revision 9

I want to alter the text of the cGzCe in the larger font - where can I do that? I forked someone else's fiddle the other day and it had this done, but I couldn't see how the settings differed from one of my fiddles! Help please :-D

...

Also, for a bonus point - does anyone know how to disable the auto-indenting... (or make it work reliably, or lower the indent to two spaces..)

Thanks!

Share Improve this question asked Sep 5, 2012 at 10:39 joevallenderjoevallender 4,2933 gold badges30 silver badges35 bronze badges 1
  • Would you be willing to reevaluate your accepted answer? The highest up-voted answer seems far better than mine, and probably should be accepted instead. :) – David Thomas Commented Oct 14, 2016 at 20:59
Add a comment  | 

3 Answers 3

Reset to default 22

I had trouble replacing the fiddle code number with a fiddle name and description.

Here's how I got the results I wanted:

  1. Clicked on "Base" to get the fiddle URL to show as /xxxxxx/#Base where xxxxxx is the fiddle code.
  2. Used the Fiddle Options to set the Fiddle Name as "MyFiddleName" and Description
  3. Clicked "Update"
  4. Clicked "Set as base"
  5. Now the dashboard shows "MyFiddleName" with the description and doesn't show the xxxxxx code.

Here is what worked for me,

for new fiddle:

  1. In the left panel, under Fiddle Meta, give a name in the "untitled fiddle" input box
  2. Click save from the top menu to save the fiddle and the given name

for existing fiddle with code name:

  1. Click on the fiddle to open it.
  2. In the left panel, under Fiddle Meta, give a name in the "untitled fiddle" input box
  3. Click update and then set as base from the top menu to save the given name

While I think this is off-topic for Stack Overflow (and have voted to close as such), the way to have no string of random characters besides the title of the saved Fiddle is, when you start the Fiddle, declare its title; if the title is added after a point at which it's been previously saved then the string of characters will appear, since that's the 'base'/'original' Fiddle, whereas the 'titled' Fiddle is a later revision.

发布评论

评论列表(0)

  1. 暂无评论