RESTRUCTUREDTEXT inclusion

Shortcode :

[rst file="https://raw.githubusercontent.com/Prodiguer/find-agg/master/docs/configuration.rst"]

Result :

'); var src=0; if(!src){ $('#div_configuration_rst0').load('https://raw.githubusercontent.com/Prodiguer/find-agg/master/docs/configuration.rst',function(rst){ $.post(window.location.origin+'/wp-content/plugins/rst-plugin/rst_ajax.php',{rst:rst}).done(function(html){ $('#div_configuration_rst0').html(html).css('display','block'); }); }); }else{ $('#div_configuration_rst0').load('https://raw.githubusercontent.com/Prodiguer/find-agg/master/docs/configuration.rst',function(rst){ html='
'+rst+'
'; $('#div_configuration_rst0').html(html).css('display','block'); }); }

Afficher le code source :

[rst src=1 file=https://raw.githubusercontent.com/Prodiguer/find-agg/master/docs/configuration.rst]

Result :

'); var src=1; if(!src){ $('#div_configuration_rst1').load('https://raw.githubusercontent.com/Prodiguer/find-agg/master/docs/configuration.rst',function(rst){ $.post(window.location.origin+'/wp-content/plugins/rst-plugin/rst_ajax.php',{rst:rst}).done(function(html){ $('#div_configuration_rst1').html(html).css('display','block'); }); }); }else{ $('#div_configuration_rst1').load('https://raw.githubusercontent.com/Prodiguer/find-agg/master/docs/configuration.rst',function(rst){ html='
'+rst+'
'; $('#div_configuration_rst1').html(html).css('display','block'); }); }

Afficher le contenu text du fichier glossaire.txt

[rst src=1 file=https://edswpi.ipsl.upmc.fr/wp-content/plugins/IPSL-wp-plugin/glossaire.txt]

Result

'); var src=1; if(!src){ $('#div_glossaire_txt1').load('https://edswpi.ipsl.upmc.fr/wp-content/plugins/IPSL-wp-plugin/glossaire.txt',function(rst){ $.post(window.location.origin+'/wp-content/plugins/rst-plugin/rst_ajax.php',{rst:rst}).done(function(html){ $('#div_glossaire_txt1').html(html).css('display','block'); }); }); }else{ $('#div_glossaire_txt1').load('https://edswpi.ipsl.upmc.fr/wp-content/plugins/IPSL-wp-plugin/glossaire.txt',function(rst){ html='
'+rst+'
'; $('#div_glossaire_txt1').html(html).css('display','block'); }); }