Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I've just started to use the new Qlik Community site and can't see a way of replicating the code formatting that was on the old site. It used to be possible to highlight a section as javascript, for example, so that the code would stand out and be correctly indented, but I can't see any similar options and I can't tab to indent. This makes it difficult to post questions that include code examples. Am I missing something? I see there's an HTML tab, but surely we don't have to covert the comments to html beforehand.
Hello @rbartley
Not sure I can answer this, but there is a small icon when posting or replying to Questions that lets you post code to the text, see below.
That would make it look like this:
if(qData && qData.qMatrix) { $.each(qData.qMatrix, function(key, row) { if(row.length > 1) { //dimension is first, measure second var dim = row[0], meas = row[1]; if(dim.qIsOtherCell) { dim.qText = layout.qHyperCube.qDimensionInfo[0].othersLabel; } html += '<div title="' + dim.qText + ':' + meas.qText + '"';
If that does not answer your question I'm afraid we'll have to wait for the much more tech-savvy @Anonymous to jump in.
All the best
-Mattias
HI Mattias,
While not being quite as advanced as the previous text editor, it allows me to indent and it stands out from the pure text, so that's good enough.
Thanks for your help.
Richard
Hello @rbartley
Not sure I can answer this, but there is a small icon when posting or replying to Questions that lets you post code to the text, see below.
That would make it look like this:
if(qData && qData.qMatrix) { $.each(qData.qMatrix, function(key, row) { if(row.length > 1) { //dimension is first, measure second var dim = row[0], meas = row[1]; if(dim.qIsOtherCell) { dim.qText = layout.qHyperCube.qDimensionInfo[0].othersLabel; } html += '<div title="' + dim.qText + ':' + meas.qText + '"';
If that does not answer your question I'm afraid we'll have to wait for the much more tech-savvy @Anonymous to jump in.
All the best
-Mattias
HI Mattias,
While not being quite as advanced as the previous text editor, it allows me to indent and it stands out from the pure text, so that's good enough.
Thanks for your help.
Richard