Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If use «File > Save As > HTML» links «in» and «out» are lost

How to save a document without loss of these lines/links?

enter image description here enter image description here

UPD: You can write in the css rules (:after { content: "In[i]:="; }) for .Input and .Output.



But it's not quite what I wanted

share|improve this question… CellFrameLabels to HTML related, I know many things will lost, for example CounterBox. – HyperGroups Jun 14 '13 at 13:26
up vote 4 down vote accepted

These are CellLabels and by default they are autodeleted when Notebook is saved. To preserve them, evaluate the following:

SetOptions[EvaluationNotebook[], CellLabelAutoDelete -> False]
share|improve this answer
Yes! This is exactly what I need, thanks! – Игорь Вячеславович Nov 18 '14 at 17:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.