Search
K

IDE Plugin

Note: This page explains only the general plugin. If you want to embed a file you have already saved and shared in JDoodle - please refer the Embed a Shared Code Page
JDoodle IDE Plugin is an easy way to insert an IDE into your web application or blog.
Include the below two lines wherever you want to display the IDE
<div data-pym-src='https://www.jdoodle.com/plugin' data-language="java"
data-version-index="4" data-libs="mavenlib1, mavenlib2">
Optional default code goes here
</div>
and insert this at the bottom of the HTML page
<script src="https://www.jdoodle.com/assets/jdoodle-pym.min.js" type="text/javascript"></script>
Below is the list of attributes you can use for customisation (refer this link for the list of language names and version index - Languages and version indices):
Text
Description
data-language
Language Name
data-version-index
Version of the language
data-libs
Maven Libraries for Java
For a white-labelled custom version of the plugin, please contact us.

Some Custom Plugin Samples

Sample File

Note: Stored as .txt for security. Please save the file with ".html" extension.
plugin-java-prod.txt
567B
Text