@@ -0,0 +1,1401 @@
+/*-%0A * #%25L%0A * SciJava polyglot kernel for Jupyter.%0A * %25%25%0A * Copyright (C) 2017 Hadrien Mary%0A * %25%25%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * %0A *      http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * #L%25%0A */%0A%0Apackage org.scijava.notebook.converter;%0A%0Aimport org.scijava.Priority;%0Aimport org.scijava.convert.Converter;%0Aimport org.scijava.notebook.converter.output.HTMLNotebookOutput;%0Aimport org.scijava.plugin.Plugin;%0A%0A@Plugin(type = Converter.class, priority = Priority.LOW_PRIORITY)%0Apublic class NumberToHTMLNotebookConverter%0A        extends NotebookOutputConverter%3CNumber, HTMLNotebookOutput%3E %7B%0A%0A    @Override%0A    public Class%3CNumber%3E getInputType() %7B%0A        return Number.class;%0A    %7D%0A%0A    @Override%0A    public Class%3CHTMLNotebookOutput%3E getOutputType() %7B%0A        return HTMLNotebookOutput.class;%0A    %7D%0A%0A    @Override%0A    public HTMLNotebookOutput convert(Object object) %7B%0A        return new HTMLNotebookOutput(object.toString());%0A    %7D%0A%0A%7D%0A

Add number to HTML converter