Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

naming and configuring jsfiddle

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!

like image 588
joevallender Avatar asked Sep 05 '12 10:09

joevallender


2 Answers

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.
like image 64
ChrisS Avatar answered Sep 20 '22 20:09

ChrisS


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
like image 28
Prakash Tiwari Avatar answered Sep 17 '22 20:09

Prakash Tiwari