naming and configuring jsfiddle

2019-03-26 19:01发布

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!

3条回答
祖国的老花朵
2楼-- · 2019-03-26 19:17

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.

查看更多
手持菜刀,她持情操
3楼-- · 2019-03-26 19: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.
查看更多
我命由我不由天
4楼-- · 2019-03-26 19:36

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
查看更多
登录 后发表回答