In the book I am reading differentiability is defined as: f is differentiable in $x_0\in I$ if $\lim_{x\rightarrow x_0} \frac{f(x)-f(x_0)}{x-x_0}$ exists
After this definition there is a comment that states because $f$ has the derivative $f'(x_0)$ in $x_0$ it follows that for every sequence $(x_n)$ which converges to $x_0$ (and $x_n \neq x_0$) the limit of $\frac{f(x_n)-f(x_0)}{x_n-x_0}$ converges to $f'(x_0)$
I tried to prove that as follows: $$f'(x_0)=\lim_{x\rightarrow x_0} \frac{f(x)-f(x_0)}{x-x_0}= \frac{\lim_{x\rightarrow x_0}f(x)-f(x_0)}{\lim_{x\rightarrow x_0}x-x_0}=(*)$$
These two limits are obviously equal $$\lim_{x\rightarrow x_0}x=x_0=\lim_{n\rightarrow \infty}x_n$$
but for $$\lim_{x \rightarrow x_0} f(x)=\lim_{n \rightarrow \infty} f(x_n)$$ it is necessary for $f$ to be continuous. So if $f$ is continuous then $\lim_{n \rightarrow \infty}\frac{f(x_n)-f(x_0)}{x_n-x_0}$ holds.
After this comment a corollary follows that states that a differentiable function is also continuous. My problem now is that the prove uses the comment above.
My Questions is: Was my way of proving the comment wrong? Is there a way which does not use continuity of $f$?