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

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

1 Answer 1

up vote 3 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.