The following example code is not working in my rst wiki file.
.. sourcecode :: cpp
template<typename TIN, typename TOUT>
class ILayer: public joseph2::base::BaseIntf {
public:
virtual void initialize ( const JoYAMLNode &node ) =0;
virtual TOUT const & feedforward ( TIN const &x ) =0;
virtual TOUT const & getOutput() const =0;
virtual size_t getDimInput() const =0;
virtual size_t getDimOutput() const =0;
virtual string toString() const =0;
};
Community moderators have prevented the ability to post new answers.
Nor does:
.. sourcecode:: python def wiki_rocks(text): formatter = lambda t: "funky"+t return formatter(text)
It keeps stripping out my blank lines but they are there. The example from the page linked page does not work, nor does using the <code> tool. Something is very much broken and appears to be broken for more than a month now. Please fix.
I have also tried it with an extra line between the sourcecode line and the def line, but it still doesn't work. It is formatted as code, but not syntax highlighted.
19 Feb 2016
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.